[keystone] Fix fernet secret reset
This patch makes the fernet and credential secret something that gets created only once when the deployment is first done, as when using Helm, it's possible that it overrides it's values with an empty secret in the runs afterwards. By making it a hook, it will instead create it and leave an owner reference in Helm 3 to delete it later if the release is deleted. It will not manage it afterwards as well. Change-Id: I7c1c97f38877e0e54bea7fc09b37dd6f77c9dc8a
This commit is contained in:
parent
fe53b5e559
commit
f5a757b106
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Keystone
|
||||
name: keystone
|
||||
version: 0.1.2
|
||||
version: 0.1.3
|
||||
home: https://docs.openstack.org/keystone/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Keystone/OpenStack_Project_Keystone_vertical.png
|
||||
sources:
|
||||
|
@ -19,6 +19,8 @@ apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: keystone-credential-keys
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
||||
type: Opaque
|
||||
data:
|
||||
{{- end }}
|
||||
|
@ -20,6 +20,8 @@ apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: keystone-fernet-keys
|
||||
annotations:
|
||||
"helm.sh/hook": pre-install
|
||||
type: Opaque
|
||||
data:
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user