Merge "fix(keystone): ensure fernet and credential keys are not deleted"
This commit is contained in:
@@ -22,6 +22,7 @@ metadata:
|
|||||||
{{- if .Values.helm3_hook }}
|
{{- if .Values.helm3_hook }}
|
||||||
annotations:
|
annotations:
|
||||||
"helm.sh/hook": pre-install
|
"helm.sh/hook": pre-install
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
{{- end }}
|
{{- end }}
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
|
@@ -23,6 +23,7 @@ metadata:
|
|||||||
{{- if .Values.helm3_hook }}
|
{{- if .Values.helm3_hook }}
|
||||||
annotations:
|
annotations:
|
||||||
"helm.sh/hook": pre-install
|
"helm.sh/hook": pre-install
|
||||||
|
"helm.sh/resource-policy": keep
|
||||||
{{- end }}
|
{{- end }}
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
|
9
releasenotes/notes/keystone-56908951efdcc19e.yaml
Normal file
9
releasenotes/notes/keystone-56908951efdcc19e.yaml
Normal 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.
|
||||||
|
...
|
Reference in New Issue
Block a user