summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/resources/config/mso/mso-docker.json
diff options
context:
space:
mode:
authorMarcin Wilk <m.wilk@samsung.com>2021-10-13 18:20:43 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2021-11-03 19:39:13 +0000
commitda32e95eedb5514f8c12df10b07f1473c7aa0e51 (patch)
tree183e5e84652065785037525516d73a61e514b3ed /kubernetes/so/resources/config/mso/mso-docker.json
parentc57d527b7259b7261143ed34d94a42f691e548e6 (diff)
[SO] Fix so-openstack-adapter support for Keystone V3 api
Currently so-openstack-adapter configuration file contains hardcoded v2.0 Keystone endpoint. This fix allows for defining Keystone api version via values/override file. Change-Id: Ib81c2888784d3d41c1ac2464c122a426743023dd Issue-ID: OOM-2866 Signed-off-by: Marcin Wilk <m.wilk@samsung.com> (cherry picked from commit ad9b376c2c47e46e30590bb0a8fe66fdb7badbab)
Diffstat (limited to 'kubernetes/so/resources/config/mso/mso-docker.json')
-rwxr-xr-xkubernetes/so/resources/config/mso/mso-docker.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/so/resources/config/mso/mso-docker.json b/kubernetes/so/resources/config/mso/mso-docker.json
index 167a8edc09..119a31304a 100755
--- a/kubernetes/so/resources/config/mso/mso-docker.json
+++ b/kubernetes/so/resources/config/mso/mso-docker.json
@@ -84,13 +84,17 @@
[
{
"dcp_clli": "DEFAULT_KEYSTONE",
+ {{- if eq .Values.config.openStackKeystoneVersion "KEYSTONE_V3" }}
+ "identity_url": "{{ .Values.config.openStackKeyStoneUrl }}/v3",
+ {{- else }}
"identity_url": "{{ .Values.config.openStackKeyStoneUrl }}/v2.0",
+ {{- end }}
"mso_id": "{{ .Values.config.openStackUserName }}",
"mso_pass": "{{ .Values.config.openStackEncryptedPasswordHere }}",
"admin_tenant":"{{ .Values.config.openStackServiceTenantName }}",
"member_role": "admin",
"tenant_metadata": "true",
- "identity_server_type": "KEYSTONE",
+ "identity_server_type": "{{ .Values.config.openStackKeystoneVersion }}",
"identity_authentication_type": "USERNAME_PASSWORD"
}
],