aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-wfd-fe/templates/_helper.tpl
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-09-10 07:41:02 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-10 07:41:02 +0000
commit8c62083d8ac58e74f16409adf775cb1c49063745 (patch)
treea1bb88d71983737ab19eabf88931a313d3811882 /kubernetes/sdc/components/sdc-wfd-fe/templates/_helper.tpl
parent86a28cdb200f482bc9a2e1f281ec1c51938f6c2c (diff)
parent742a7b29bfb6ffb18ef65b0a45ad08de59e52a6e (diff)
Merge "[SDC] use of certInitializer template"
Diffstat (limited to 'kubernetes/sdc/components/sdc-wfd-fe/templates/_helper.tpl')
-rw-r--r--kubernetes/sdc/components/sdc-wfd-fe/templates/_helper.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-wfd-fe/templates/_helper.tpl b/kubernetes/sdc/components/sdc-wfd-fe/templates/_helper.tpl
new file mode 100644
index 0000000000..546bab7ddf
--- /dev/null
+++ b/kubernetes/sdc/components/sdc-wfd-fe/templates/_helper.tpl
@@ -0,0 +1 @@
+{{- define "wfd-fe.internalPort" }}{{ if .Values.config.isHttpsEnabled }}{{ .Values.service.internalPort2 }}{{ else }}{{ .Values.service.internalPort }}{{ end }}{{- end }}