Customize simpldemo.onap.org DNS zone with rdm_str
[oom.git] / kubernetes / multicloud / templates / multicloud-windriver-deployment.yaml
index a74ea19..d856cde 100644 (file)
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableMulticloudMulticloudWindriver }}
 apiVersion: extensions/v1beta1
 kind: Deployment
 metadata:
@@ -17,7 +18,9 @@ spec:
      containers:
      - env:
        - name: MSB_ADDR
-         value: "{{ .Values.msbgateway }}"
+         valueFrom:
+           fieldRef:
+             fieldPath: status.hostIP
        - name: MSB_PORT
          value: "{{ .Values.msbPort }}"
        - name: AAI_ADDR
@@ -55,5 +58,4 @@ spec:
          path: /dockerdata-nfs/{{ .Values.nsPrefix }}/multicloud/windriver/logs
      imagePullSecrets:
      - name: "{{ .Values.nsPrefix }}-docker-registry-key"
-
-
+#{{ end }}
\ No newline at end of file