Skip to content

Commit

Permalink
fix: chart - use podAnnotations from values.yaml in deployment (#98)
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Mignot <[email protected]>
  • Loading branch information
vmignot and Victor Mignot authored Sep 27, 2024
1 parent 2a713aa commit ef80db4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ spec:
metadata:
labels:
{{- include "py-kube-downscaler.selectorLabels" . | nindent 8 }}
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ include "py-kube-downscaler.serviceAccountName" . }}
containers:
Expand Down
2 changes: 1 addition & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ excludedNamespaces:
# e.g.:
# extraConfig: |
# DOWNSCALE_PERIOD: "Mon-Sun 19:00-20:00 Europe/Berlin"
extraConfig: ""
extraConfig: ""

0 comments on commit ef80db4

Please sign in to comment.