mirror of https://github.com/helm/helm
parent
119a7d9bab
commit
b7a0fd0ddc
@ -1,5 +1,5 @@
|
|||||||
==> Linting testdata/testcharts/chart-with-deprecated-api
|
==> Linting testdata/testcharts/chart-with-deprecated-api
|
||||||
[INFO] Chart.yaml: icon is recommended
|
[INFO] Chart.yaml: icon is recommended
|
||||||
[WARNING] templates/horizontalpodautoscaler.yaml: autoscaling/v2beta1 HorizontalPodAutoscaler is deprecated in v1.22+, unavailable in v1.25+; use autoscaling/v2 HorizontalPodAutoscaler
|
[WARNING] templates/poddisruptionbudget.yaml: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
|
||||||
|
|
||||||
Error: 1 chart(s) linted, 1 chart(s) failed
|
Error: 1 chart(s) linted, 1 chart(s) failed
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
==> Linting testdata/testcharts/chart-with-deprecated-api
|
==> Linting testdata/testcharts/chart-with-deprecated-api
|
||||||
[INFO] Chart.yaml: icon is recommended
|
[INFO] Chart.yaml: icon is recommended
|
||||||
[WARNING] templates/horizontalpodautoscaler.yaml: autoscaling/v2beta1 HorizontalPodAutoscaler is deprecated in v1.22+, unavailable in v1.25+; use autoscaling/v2 HorizontalPodAutoscaler
|
[WARNING] templates/poddisruptionbudget.yaml: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
|
||||||
|
|
||||||
1 chart(s) linted, 0 chart(s) failed
|
1 chart(s) linted, 0 chart(s) failed
|
||||||
|
|||||||
@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: policy/v1beta1
|
||||||
|
kind: PodDisruptionBudget
|
||||||
|
metadata:
|
||||||
|
name: deprecated
|
||||||
|
spec:
|
||||||
|
maxUnavailable: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: deprecated
|
||||||
Loading…
Reference in new issue