Skip to content

Commit

Permalink
Fix pod annotations/labels (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
torchello authored Aug 15, 2024
1 parent ac35a1f commit 46ee812
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sickhub/cronjobs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: cronjobs
description: A generic helm cronjob chart for kubernetes
type: application
version: 0.4.0
version: 0.4.1
appVersion: latest
home: https://github.com/SickHub
icon: https://raw.githubusercontent.com/SickHub/charts/master/sickhub/cronjobs/icon.png
Expand Down
4 changes: 2 additions & 2 deletions sickhub/cronjobs/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ spec:
{{- end}}
template:
metadata:
{{- with .podAnnotations }}
{{- with $.Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 12 }}
{{- end }}
labels:
{{- with .podLabels }}
{{- with $.Values.podLabels }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- $chart_selector_labels | nindent 12 }}
Expand Down

0 comments on commit 46ee812

Please sign in to comment.