We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a788f4 commit fff6023Copy full SHA for fff6023
charts/coredns/Chart.yaml
@@ -1,6 +1,6 @@
1
apiVersion: v2
2
name: coredns
3
-version: 1.19.7
+version: 1.19.8
4
appVersion: 1.9.4
5
home: https://coredns.io
6
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png
charts/coredns/templates/hpa.yaml
@@ -1,6 +1,10 @@
{{- if and (.Values.hpa.enabled) (not .Values.autoscaler.enabled) }}
---
+{{- if .Capabilities.APIVersions.Has "autoscaling/v2" }}
+apiVersion: autoscaling/v2
+{{- else }}
apiVersion: autoscaling/v2beta2
7
+{{- end }}
8
kind: HorizontalPodAutoscaler
9
metadata:
10
name: {{ template "coredns.fullname" . }}
0 commit comments