diff options
author | 2025-02-28 13:44:27 +0100 | |
---|---|---|
committer | 2025-03-01 11:18:53 +0100 | |
commit | 4aeb83993fc3c78554ed53b5ffbf35552634e4a6 (patch) | |
tree | debbbf3cb8096c674754e01f431c6d54f8798375 /kubernetes/sdnc/values.yaml | |
parent | 3efc75775a486e5116d73dd1180c461870edb51b (diff) |
[COMMON] Add jobAnnotations as optional variables
- add Annotations to all job template metadata
- make the jobAnnotations configurable via values.yaml
Issue-ID: OOM-3254
Change-Id: I84a3a7e9a89ea272a239e7a86e9c615103c2c7e4
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/sdnc/values.yaml')
-rw-r--r-- | kubernetes/sdnc/values.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/sdnc/values.yaml b/kubernetes/sdnc/values.yaml index 7060cae475..69c81f8087 100644 --- a/kubernetes/sdnc/values.yaml +++ b/kubernetes/sdnc/values.yaml @@ -412,6 +412,20 @@ config: # Strimzi KafkaUser/Topic config on top level kafkaUser: *kafkaUser +# Annotations to control the execution and deletion of the job +# Can be used to delete a job before an Upgrade +# +# jobAnnotations: +# # In case of an ArgoCD deployment this Hook deletes the job before syncing +# argocd.argoproj.io/hook: Sync +# argocd.argoproj.io/hook-delete-policy: BeforeHookCreation +# +# # In case of an Helm/Flux deployment this Hook deletes the job +# # This is what defines this resource as a hook. Without this line, the +# # job is considered part of the release. +# "helm.sh/hook": "pre-upgrade,pre-rollback,post-install" +# "helm.sh/hook-delete-policy": "before-hook-creation" +# "helm.sh/hook-weight": "1" # dependency / sub-chart configuration network-name-gen: |