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 08cea12 commit 1ee5de0Copy full SHA for 1ee5de0
charts/nginx-ingress/templates/controller-hpa.yaml
@@ -1,4 +1,4 @@
1
-{{- if and .Values.controller.autoscaling.enabled (eq .Values.controller.kind "deployment") (.Capabilities.APIVersions.Has "autoscaling/v2") -}}
+{{- if and .Values.controller.autoscaling.enabled (or (eq .Values.controller.kind "deployment") (eq .Values.controller.kind "statefulset")) (.Capabilities.APIVersions.Has "autoscaling/v2") -}}
2
apiVersion: autoscaling/v2
3
kind: HorizontalPodAutoscaler
4
metadata:
0 commit comments