Skip to content

Commit

Permalink
Add required templating to hpa.maxReplicas
Browse files Browse the repository at this point in the history
Signed-off-by: Dean Coakley <[email protected]>
  • Loading branch information
Dean-Coakley committed Feb 12, 2025
1 parent 9b20d0e commit ee81ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/gateway-helm/templates/envoy-gateway-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
{{- if .Values.hpa.minReplicas }}
minReplicas: {{ .Values.hpa.minReplicas }}
{{- end }}
maxReplicas: {{ .Values.hpa.maxReplicas }}
maxReplicas: {{ required ".Values.hps.maxReplicas is required when hpa is enabled" .Values.hpa.maxReplicas }}
{{- if .Values.hpa.behavior }}
behavior:
{{ toYaml .Values.hpa.behavior | indent 4 }}
Expand Down

0 comments on commit ee81ecd

Please sign in to comment.