[AICINF-2553] Fix the auth_url in openstack-utility

This patchset add capibility to select public url of keystone
if no auth_url is provided.

Change-Id: I960d36f7469c78bdd2632a3d50a20ce461710de2
This commit is contained in:
Gupta, Sangeet (sg774j) 2020-08-14 21:41:20 +00:00 committed by Sangeet Gupta
parent ca8e9d8358
commit 5cd7437e98

View File

@ -81,7 +81,11 @@ spec:
{{ dict "envAll" $envAll "application" "openstack" "container" "openstack_utility" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
env:
- name: OS_AUTH_URL
{{- if empty .Values.conf.keystone_auth.auth_url }}
value: {{ tuple "identity" "public" "api" $envAll | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup" }}
{{- else }}
value: {{ .Values.conf.keystone_auth.auth_url }}
{{- end }}
- name: OS_IDENTITY_API_VERSION
value: "{{ .Values.conf.keystone_auth.auth_version }}"
command: