diff --git a/charts/bridges-common-relay/templates/cronjob.yml b/charts/bridges-common-relay/templates/cronjob.yml index 957c24bf..305b207d 100644 --- a/charts/bridges-common-relay/templates/cronjob.yml +++ b/charts/bridges-common-relay/templates/cronjob.yml @@ -13,14 +13,16 @@ spec: metadata: annotations: checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") $ | sha256sum }} - {{- with $.Values.podAnnotations }} - {{- toYaml . | nindent 8 }} - {{- end }} labels: {{- include "bridges-common-relay.labels" $ | nindent 8 }} spec: backOffLimit: 0 template: + metadata: + annotations: + {{- with $.Values.podAnnotations }} + {{- toYaml . | nindent 12 }} + {{- end }} spec: restartPolicy: Never serviceAccountName: {{ include "bridges-common-relay.serviceAccountName" $ }}