Merge "[Designate] Bring consistency to oslo_db endpoints"
This commit is contained in:
commit
32a43ffda1
@ -56,8 +56,8 @@
|
||||
{{- end -}}
|
||||
|
||||
{{- if empty (index .Values.conf.designate "storage:sqlalchemy").connection -}}
|
||||
{{- $_ := tuple "oslo_db" "internal" "user" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" | set (index .Values.conf.designate "storage:sqlalchemy") "connection" -}}
|
||||
{{- $_ := tuple "oslo_db" "internal" "user" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" | set .Values.conf.designate.database "connection" -}}
|
||||
{{- $_ := tuple "oslo_db" "internal" "designate" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" | set (index .Values.conf.designate "storage:sqlalchemy") "connection" -}}
|
||||
{{- $_ := tuple "oslo_db" "internal" "designate" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" | set .Values.conf.designate.database "connection" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if empty .Values.conf.designate.DEFAULT.transport_url -}}
|
||||
|
@ -14,7 +14,7 @@
|
||||
{{- if .Values.manifests.secret_db }}
|
||||
|
||||
{{- $envAll := . }}
|
||||
{{- range $key1, $userClass := tuple "admin" "user" }}
|
||||
{{- range $key1, $userClass := tuple "admin" "designate" }}
|
||||
{{- $secretName := index $envAll.Values.secrets.oslo_db $userClass }}
|
||||
---
|
||||
apiVersion: v1
|
||||
|
@ -736,7 +736,7 @@ endpoints:
|
||||
admin:
|
||||
username: root
|
||||
password: password
|
||||
user:
|
||||
designate:
|
||||
username: designate
|
||||
password: password
|
||||
hosts:
|
||||
|
Loading…
Reference in New Issue
Block a user