Files
openstack-helm/keystone/templates/secret-credential-keys.yaml
Doug Goldstein a396e01985 fix(keystone): ensure fernet and credential keys are not deleted
Ensure that we do not delete credentials and fernet keys when deploying
an upgrade of the chart.

Change-Id: I89f5e2fa5f3e1a436ea747a0ab1472159f637e90
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2025-09-02 16:50:08 -05:00

30 lines
833 B
YAML

{{/*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/}}
{{- if .Values.manifests.secret_credential_keys }}
{{- $envAll := . }}
---
apiVersion: v1
kind: Secret
metadata:
name: keystone-credential-keys
{{- if .Values.helm3_hook }}
annotations:
"helm.sh/hook": pre-install
"helm.sh/resource-policy": keep
{{- end }}
type: Opaque
data:
{{- end }}