diff --git a/charts/matrix-synapse/templates/signing-key-job.yaml b/charts/matrix-synapse/templates/signing-key-job.yaml index 526b7c5..85417c0 100644 --- a/charts/matrix-synapse/templates/signing-key-job.yaml +++ b/charts/matrix-synapse/templates/signing-key-job.yaml @@ -55,6 +55,10 @@ metadata: labels: {{- include "matrix-synapse.labels" . | nindent 4 }} app.kubernetes.io/component: signingkey-job + {{- with .Values.signingkey.job.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: ttlSecondsAfterFinished: 0 template: diff --git a/charts/matrix-synapse/values.yaml b/charts/matrix-synapse/values.yaml index df163dd..c99cf80 100644 --- a/charts/matrix-synapse/values.yaml +++ b/charts/matrix-synapse/values.yaml @@ -47,6 +47,12 @@ signingkey: job: enabled: true + ## Annotations to apply to the signing-key-job. + ## + annotations: { } + # argocd.argoproj.io/hook: PostSync + # argocd.argoproj.io/hook-delete-policy: HookSucceeded + generateImage: repository: matrixdotorg/synapse #tag: latest