From b570e4504b3922611afab38d571b0028d516281e Mon Sep 17 00:00:00 2001 From: Alex Torchenko Date: Thu, 15 Aug 2024 17:02:34 -0400 Subject: [PATCH] Fix pod annotations/labels --- sickhub/cronjobs/Chart.yaml | 2 +- sickhub/cronjobs/templates/cronjob.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sickhub/cronjobs/Chart.yaml b/sickhub/cronjobs/Chart.yaml index 287ba06..cae0105 100644 --- a/sickhub/cronjobs/Chart.yaml +++ b/sickhub/cronjobs/Chart.yaml @@ -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 diff --git a/sickhub/cronjobs/templates/cronjob.yaml b/sickhub/cronjobs/templates/cronjob.yaml index ee1ee8c..bc1620f 100644 --- a/sickhub/cronjobs/templates/cronjob.yaml +++ b/sickhub/cronjobs/templates/cronjob.yaml @@ -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 }}