summaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2020-02-12 13:22:47 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-12 13:22:47 +0000
commit4e7114252d86f891420318391bcfb6d0f929ed56 (patch)
treee5454cb83a3dc67696cf34cbe3fb76bd8005276c /kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates
parente661fb39459ddef74def3e1259f9191a5a7386dc (diff)
parentaaeedabab2c12bfc0d2818e788e33f3cd8f5dd4a (diff)
Merge "Make use msb iag with https"
Diffstat (limited to 'kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates')
-rw-r--r--kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/deployment.yaml4
-rw-r--r--kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/service.yaml1
2 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/deployment.yaml
index 12534bc94a..008d480194 100644
--- a/kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/deployment.yaml
+++ b/kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/deployment.yaml
@@ -69,6 +69,10 @@ spec:
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
env:
+ - name: MSB_PROTO
+ value: "{{ .Values.global.config.msbprotocol }}"
+ - name: SSL_ENABLED
+ value: "{{ .Values.global.config.ssl_enabled }}"
- name: MSB_ADDR
value: "{{ .Values.global.config.msbServiceName}}:{{ .Values.global.config.msbPort }}"
volumeMounts:
diff --git a/kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/service.yaml b/kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/service.yaml
index 8b42bf7c18..ea94a3f518 100644
--- a/kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/service.yaml
+++ b/kubernetes/vfc/charts/vfc-juju-vnfm-driver/templates/service.yaml
@@ -30,6 +30,7 @@ metadata:
"url": "/api/jujuvnfmdriver/v1",
"protocol": "REST",
"port": "{{.Values.service.externalPort}}",
+ "enable_ssl": {{ .Values.global.config.ssl_enabled }},
"visualRange":"1"
}
]'