summaryrefslogtreecommitdiffstats
path: root/kubernetes/multicloud/components/multicloud-fcaps/templates/service.yaml
diff options
context:
space:
mode:
authorFiachra Corcoran <fiachra.corcoran@est.tech>2022-09-23 18:54:14 +0000
committerGerrit Code Review <gerrit@onap.org>2022-09-23 18:54:14 +0000
commit54a46829db2c1119f3baa12de63f584d03aba8cd (patch)
tree262ad4004248193c0b2d2da4719d4df82968e881 /kubernetes/multicloud/components/multicloud-fcaps/templates/service.yaml
parente80759dab867db25cb72b750fe60484a28bed1d4 (diff)
parentdfa23c83cc8630915824968ba7b043ef968e38b6 (diff)
Merge "[MULTICLOUD] Service mesh compatibility"
Diffstat (limited to 'kubernetes/multicloud/components/multicloud-fcaps/templates/service.yaml')
-rw-r--r--kubernetes/multicloud/components/multicloud-fcaps/templates/service.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/multicloud/components/multicloud-fcaps/templates/service.yaml b/kubernetes/multicloud/components/multicloud-fcaps/templates/service.yaml
index fabe32e0ff..e73a942172 100644
--- a/kubernetes/multicloud/components/multicloud-fcaps/templates/service.yaml
+++ b/kubernetes/multicloud/components/multicloud-fcaps/templates/service.yaml
@@ -32,7 +32,7 @@ metadata:
"url": "/api/multicloud-fcaps/v0",
"protocol": "REST",
"port": "{{ .Values.service.externalPort }}",
- "enable_ssl": {{ .Values.config.ssl_enabled }},
+ "enable_ssl": {{ if (include "common.needTLS" .) }}{{ .Values.config.ssl_enabled }}{{ else }}false{{ end }},
"visualRange": "1"
},
{
@@ -41,7 +41,7 @@ metadata:
"url": "/api/multicloud-fcaps/v1",
"protocol": "REST",
"port": "{{ .Values.service.externalPort }}",
- "enable_ssl": {{ .Values.config.ssl_enabled }},
+ "enable_ssl": {{ if (include "common.needTLS" .) }}{{ .Values.config.ssl_enabled }}{{ else }}false{{ end }},
"visualRange": "1"
}
]'