Skip to content

Commit

Permalink
Allowing HPA behavior to be set (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 authored Jan 8, 2024
1 parent 7e7b0a8 commit 5f07228
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ spec:
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
metrics:
{{- toYaml .Values.autoscaling.metrics | nindent 4 }}
{{- if .Values.autoscaling.behavior }}
behavior:
{{- toYaml .Values.autoscaling.behavior | nindent 4 }}
{{- end }}
{{- end }}

0 comments on commit 5f07228

Please sign in to comment.