Bootstrap-Jobs: Use internal endpoint for bootstrapping

This PS moves to use the internal keystone endpoint for boostrapping
jobs, to allow osh to be deployed when the support infrastructure may
not have been fully configured (eg - dns for public endpoints)

Change-Id: I5a9eb07b88bdc0ffbcda371bdd4c03d4da4ed78d
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2018-06-08 08:43:59 -05:00
parent 9e96b0fae2
commit f64ec4645a

View File

@ -59,6 +59,8 @@ spec:
{{ tuple $envAll $envAll.Values.pod.resources.jobs.bootstrap | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
{{- if eq $openrc "true" }}
env:
- name: OS_INTERFACE
value: "internal"
{{- with $env := dict "ksUserSecret" ( index $envAll.Values.secrets.identity $keystoneUser ) }}
{{- include "helm-toolkit.snippets.keystone_openrc_env_vars" $env | indent 12 }}
{{- end }}