Merge "fix(keystone): ensure fernet and credential keys are not deleted"

This commit is contained in:
Zuul
2025-09-04 16:25:19 +00:00
committed by Gerrit Code Review
3 changed files with 11 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ metadata:
{{- if .Values.helm3_hook }}
annotations:
"helm.sh/hook": pre-install
"helm.sh/resource-policy": keep
{{- end }}
type: Opaque
data:

View File

@@ -23,6 +23,7 @@ metadata:
{{- if .Values.helm3_hook }}
annotations:
"helm.sh/hook": pre-install
"helm.sh/resource-policy": keep
{{- end }}
type: Opaque
data:

View File

@@ -0,0 +1,9 @@
---
keystone:
- |
Annotate credential and fernet keys secrets with the Helm keep policy.
While helm does not clean up hook resources today, their documentation
says that it is coming and users should annotate resources they do not
expect to be deleted appropriately. Some GitOps tools like ArgoCD
implement the cleanup today as part of their Helm support.
...