summaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc/charts/vfc-nslcm
diff options
context:
space:
mode:
authordengyh <dengyuanhong@chinamobile.com>2020-09-23 15:31:26 +0800
committerYuanhong Deng <dengyuanhong@chinamobile.com>2020-09-29 08:40:21 +0000
commit428f605239c7850495ce2e9a3c396b4248c0fe8d (patch)
treea00e9f982373a30f50d6e9943caec6375bbddb3a /kubernetes/vfc/charts/vfc-nslcm
parent665d5264749669a72bda8b27324daae02dd21769 (diff)
[VFC]Refactor environment variables of VFC
Issue-ID: VFC-1751 Change-Id: I27c96ead9ab0bf5054d9abc4c6664262a0430111 Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'kubernetes/vfc/charts/vfc-nslcm')
-rw-r--r--kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml6
-rw-r--r--kubernetes/vfc/charts/vfc-nslcm/values.yaml2
2 files changed, 3 insertions, 5 deletions
diff --git a/kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml
index 9b085f8a36..544834d199 100644
--- a/kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml
+++ b/kubernetes/vfc/charts/vfc-nslcm/templates/deployment.yaml
@@ -76,12 +76,10 @@ spec:
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
env:
- - name: MSB_PROTO
- value: "{{ .Values.global.config.msbprotocol }}"
+ - name: MSB_HOST
+ value: "{{ .Values.global.config.msbprotocol }}://{{ .Values.global.config.msbServiceName }}:{{ .Values.global.config.msbPort }}"
- name: SSL_ENABLED
value: "{{ .Values.global.config.ssl_enabled }}"
- - name: MSB_ADDR
- value: "{{ .Values.global.config.msbServiceName }}:{{ .Values.global.config.msbPort }}"
- name: MYSQL_ADDR
value: "{{ .Values.config.mariadbService }}:{{ .Values.config.mariadbPort }}"
- name: MYSQL_ROOT_USER
diff --git a/kubernetes/vfc/charts/vfc-nslcm/values.yaml b/kubernetes/vfc/charts/vfc-nslcm/values.yaml
index 547874145f..7d37810020 100644
--- a/kubernetes/vfc/charts/vfc-nslcm/values.yaml
+++ b/kubernetes/vfc/charts/vfc-nslcm/values.yaml
@@ -38,7 +38,7 @@ secrets:
flavor: small
repository: nexus3.onap.org:10001
-image: onap/vfc/nslcm:1.3.9
+image: onap/vfc/nslcm:1.4.0
pullPolicy: Always
#Istio sidecar injection policy