diff options
author | Bin Yang <bin.yang@windriver.com> | 2018-09-03 10:39:29 +0000 |
---|---|---|
committer | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-09-19 14:22:33 +0000 |
commit | 8858ebd399b321fcb60f1026dc4cfa7d3badcdac (patch) | |
tree | a0a77d91a49a47738698dd3853d8cee12e6d4c27 /kubernetes/multicloud/charts/multicloud-windriver | |
parent | 8e2d02a927c405c9eb5aa537e6499cdf09916e84 (diff) |
Refactor MC windirver plugin namespace
Workaround the constraints of ISTIO which prohibit
the usage of _ in the namespace
Change-Id: I04b266ab8fc27bbd9058c7adab21e64543960815
Issue-ID: MULTICLOUD-335
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'kubernetes/multicloud/charts/multicloud-windriver')
3 files changed, 19 insertions, 3 deletions
diff --git a/kubernetes/multicloud/charts/multicloud-windriver/templates/deployment.yaml b/kubernetes/multicloud/charts/multicloud-windriver/templates/deployment.yaml index 2e89974fd1..3dfe72c607 100644 --- a/kubernetes/multicloud/charts/multicloud-windriver/templates/deployment.yaml +++ b/kubernetes/multicloud/charts/multicloud-windriver/templates/deployment.yaml @@ -73,7 +73,7 @@ spec: {{ if .Values.liveness.enabled }} livenessProbe: httpGet: - path: /api/multicloud-titanium_cloud/v0/swagger.json + path: /api/multicloud-titaniumcloud/v1/swagger.json port: {{ .Values.service.internalPort }} scheme: HTTP initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} diff --git a/kubernetes/multicloud/charts/multicloud-windriver/templates/service.yaml b/kubernetes/multicloud/charts/multicloud-windriver/templates/service.yaml index d8c0196e6f..f876bb97ac 100644 --- a/kubernetes/multicloud/charts/multicloud-windriver/templates/service.yaml +++ b/kubernetes/multicloud/charts/multicloud-windriver/templates/service.yaml @@ -34,6 +34,22 @@ metadata: "protocol": "REST", "port": "{{ .Values.service.internalPort }}", "visualRange": "1" + }, + { + "serviceName": "multicloud-titaniumcloud", + "version": "v0", + "url": "/api/multicloud-titaniumcloud/v0", + "protocol": "REST", + "port": "{{ .Values.service.internalPort }}", + "visualRange": "1" + }, + { + "serviceName": "multicloud-titaniumcloud", + "version": "v1", + "url": "/api/multicloud-titaniumcloud/v1", + "protocol": "REST", + "port": "{{ .Values.service.internalPort }}", + "visualRange": "1" } ]' diff --git a/kubernetes/multicloud/charts/multicloud-windriver/values.yaml b/kubernetes/multicloud/charts/multicloud-windriver/values.yaml index dce2343507..91d2d2e67f 100644 --- a/kubernetes/multicloud/charts/multicloud-windriver/values.yaml +++ b/kubernetes/multicloud/charts/multicloud-windriver/values.yaml @@ -24,7 +24,7 @@ global: ################################################################# # application image repository: nexus3.onap.org:10001 -image: onap/multicloud/openstack-windriver:1.1.2 +image: onap/multicloud/openstack-windriver:1.2.0-STAGING pullPolicy: Always #Istio sidecar injection policy @@ -42,7 +42,7 @@ config: service: type: NodePort - name: multicloud-windriver + name: multicloud-titaniumcloud externalPort: 9005 internalPort: 9005 nodePort: 94 |