Skip to content

Commit

Permalink
feat: add support for behaviour in hpa. (#111)
Browse files Browse the repository at this point in the history
* feat: add support for behaviour in hpa.

* bump chart version to 0.5.4
  • Loading branch information
punit-kulal authored May 8, 2024
1 parent df1c032 commit 1459557
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.3
version: 0.5.4
3 changes: 3 additions & 0 deletions stable/app/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ spec:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetCPU }}
{{- end }}
{{- if .Values.autoscaling.behaviour }}
behaviour: {{ .Values.autoscaling.behaviour | toYaml | nindent 4 }}
{{- end}}
{{- end }}

0 comments on commit 1459557

Please sign in to comment.