Do not create HPA if default backend not enabled

Update annotations

Do not create HPA if default backend not enabled
This commit is contained in:
Yasser 2021-01-08 00:31:30 +01:00
parent ff74d0ff33
commit a70553f7d8
3 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{{- if .Values.defaultBackend.autoscaling.enabled }}
{{- if and .Values.defaultBackend.enabled .Values.defaultBackend.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata: