aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/components/uui-server/values.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/uui/components/uui-server/values.yaml')
-rw-r--r--kubernetes/uui/components/uui-server/values.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/uui/components/uui-server/values.yaml b/kubernetes/uui/components/uui-server/values.yaml
index 15cce631ca..28da40a7dd 100644
--- a/kubernetes/uui/components/uui-server/values.yaml
+++ b/kubernetes/uui/components/uui-server/values.yaml
@@ -171,3 +171,18 @@ securityContext:
wait_for_job_container:
containers:
- '{{ include "common.name" . }}-job'
+
+# 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"