Merge "Nova: add service token"
This commit is contained in:
commit
69d5c4c1e1
@ -52,6 +52,32 @@ limitations under the License.
|
|||||||
{{- $_ := set .Values.conf.nova.keystone_authtoken "memcache_secret_key" ( default ( randAlphaNum 64 ) .Values.endpoints.oslo_cache.auth.memcache_secret_key ) -}}
|
{{- $_ := set .Values.conf.nova.keystone_authtoken "memcache_secret_key" ( default ( randAlphaNum 64 ) .Values.endpoints.oslo_cache.auth.memcache_secret_key ) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if .Values.conf.nova.service_user.send_service_user_token -}}
|
||||||
|
|
||||||
|
{{- if empty .Values.conf.nova.service_user.auth_url -}}
|
||||||
|
{{- $_ := tuple "identity" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup" | set .Values.conf.nova.service_user "auth_url" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if empty .Values.conf.nova.service_user.region_name -}}
|
||||||
|
{{- $_ := set .Values.conf.nova.service_user "region_name" .Values.endpoints.identity.auth.nova.region_name -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if empty .Values.conf.nova.service_user.project_name -}}
|
||||||
|
{{- $_ := set .Values.conf.nova.service_user "project_name" .Values.endpoints.identity.auth.nova.project_name -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if empty .Values.conf.nova.service_user.project_domain_name -}}
|
||||||
|
{{- $_ := set .Values.conf.nova.service_user "project_domain_name" .Values.endpoints.identity.auth.nova.project_domain_name -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if empty .Values.conf.nova.service_user.user_domain_name -}}
|
||||||
|
{{- $_ := set .Values.conf.nova.service_user "user_domain_name" .Values.endpoints.identity.auth.nova.user_domain_name -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if empty .Values.conf.nova.service_user.username -}}
|
||||||
|
{{- $_ := set .Values.conf.nova.service_user "username" .Values.endpoints.identity.auth.nova.username -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if empty .Values.conf.nova.service_user.password -}}
|
||||||
|
{{- $_ := set .Values.conf.nova.service_user "password" .Values.endpoints.identity.auth.nova.password -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- if empty .Values.conf.nova.database.connection -}}
|
{{- if empty .Values.conf.nova.database.connection -}}
|
||||||
{{- $_ := tuple "oslo_db" "internal" "nova" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" | set .Values.conf.nova.database "connection" -}}
|
{{- $_ := tuple "oslo_db" "internal" "nova" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" | set .Values.conf.nova.database "connection" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -1666,6 +1666,9 @@ conf:
|
|||||||
auth_type: password
|
auth_type: password
|
||||||
auth_version: v3
|
auth_version: v3
|
||||||
memcache_security_strategy: ENCRYPT
|
memcache_security_strategy: ENCRYPT
|
||||||
|
service_user:
|
||||||
|
auth_type: password
|
||||||
|
send_service_user_token: false
|
||||||
libvirt:
|
libvirt:
|
||||||
connection_uri: "qemu+tcp://127.0.0.1/system"
|
connection_uri: "qemu+tcp://127.0.0.1/system"
|
||||||
images_type: qcow2
|
images_type: qcow2
|
||||||
|
Loading…
Reference in New Issue
Block a user