aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-cs/values.yaml
diff options
context:
space:
mode:
authorFiete Ostkamp <fiete.ostkamp@telekom.de>2025-03-02 13:58:22 +0000
committerGerrit Code Review <gerrit@onap.org>2025-03-02 13:58:22 +0000
commit0060da424b15edf2d389d9898395d5e8bd19ca6a (patch)
tree2421fa7e8134502dfe10c28b20c9764bf911a51c /kubernetes/sdc/components/sdc-cs/values.yaml
parentec6ebbd6049f0e9af38869c6a6af089fc04a8a29 (diff)
parent4aeb83993fc3c78554ed53b5ffbf35552634e4a6 (diff)
Merge "[COMMON] Add jobAnnotations as optional variables"
Diffstat (limited to 'kubernetes/sdc/components/sdc-cs/values.yaml')
-rw-r--r--kubernetes/sdc/components/sdc-cs/values.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-cs/values.yaml b/kubernetes/sdc/components/sdc-cs/values.yaml
index 0b564d4419..d46c474542 100644
--- a/kubernetes/sdc/components/sdc-cs/values.yaml
+++ b/kubernetes/sdc/components/sdc-cs/values.yaml
@@ -82,6 +82,21 @@ config:
maxHeapSize: "1536M"
heapNewSize: "512M"
+# 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"
+
#environment file
env:
name: AUTO