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:
parent
ff74d0ff33
commit
a70553f7d8
3 changed files with 7 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{{- if .Values.defaultBackend.autoscaling.enabled }}
|
||||
{{- if and .Values.defaultBackend.enabled .Values.defaultBackend.autoscaling.enabled }}
|
||||
apiVersion: autoscaling/v2beta1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue