mirror of https://github.com/helm/helm
Signed-off-by: Antoine Deschênes <antoine@antoinedeschenes.com>pull/10677/head
parent
77d54d7dbe
commit
869c1d2560
@ -0,0 +1,4 @@
|
||||
==> Linting testdata/testcharts/chart-with-deprecated-api
|
||||
[INFO] Chart.yaml: icon is recommended
|
||||
|
||||
1 chart(s) linted, 0 chart(s) failed
|
@ -0,0 +1,5 @@
|
||||
==> Linting testdata/testcharts/chart-with-deprecated-api
|
||||
[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
|
||||
|
||||
Error: 1 chart(s) linted, 1 chart(s) failed
|
@ -0,0 +1,5 @@
|
||||
==> Linting testdata/testcharts/chart-with-deprecated-api
|
||||
[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
|
||||
|
||||
1 chart(s) linted, 0 chart(s) failed
|
@ -0,0 +1,6 @@
|
||||
apiVersion: v2
|
||||
appVersion: "1.0.0"
|
||||
description: A Helm chart for Kubernetes
|
||||
name: chart-with-deprecated-api
|
||||
type: application
|
||||
version: 1.0.0
|
@ -0,0 +1,9 @@
|
||||
apiVersion: autoscaling/v2beta1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: deprecated
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
kind: Pod
|
||||
name: pod
|
||||
maxReplicas: 3
|
Loading…
Reference in new issue