feature: Add optional annotations to signingkey job

This commit is contained in:
th3r3al 2022-12-06 10:35:43 +01:00
parent 57bae86adb
commit 7c68206c4b
2 changed files with 9 additions and 0 deletions

View file

@ -55,6 +55,10 @@ metadata:
labels: labels:
{{- include "matrix-synapse.labels" . | nindent 4 }} {{- include "matrix-synapse.labels" . | nindent 4 }}
app.kubernetes.io/component: signingkey-job app.kubernetes.io/component: signingkey-job
{ { - with .Values.signingkey.job.annotations } }
annotations:
{ { - toYaml . | nindent 4 } }
{ { - end } }
spec: spec:
ttlSecondsAfterFinished: 0 ttlSecondsAfterFinished: 0
template: template:

View file

@ -46,6 +46,11 @@ signingkey:
## ##
job: job:
enabled: true enabled: true
## Annotations to apply to the signing-key-job.
##
annotations: { }
# argocd.argoproj.io/hook: PostSync
# argocd.argoproj.io/hook-delete-policy: HookSucceeded
generateImage: generateImage:
repository: matrixdotorg/synapse repository: matrixdotorg/synapse