summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-wfd-be/templates/_helper.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdc/components/sdc-wfd-be/templates/_helper.tpl')
-rw-r--r--kubernetes/sdc/components/sdc-wfd-be/templates/_helper.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-wfd-be/templates/_helper.tpl b/kubernetes/sdc/components/sdc-wfd-be/templates/_helper.tpl
new file mode 100644
index 0000000000..298a2cd673
--- /dev/null
+++ b/kubernetes/sdc/components/sdc-wfd-be/templates/_helper.tpl
@@ -0,0 +1 @@
+{{- define "wfd-be.internalPort" }}{{ if .Values.config.serverSSLEnabled }}{{ .Values.service.internalPort2 }}{{ else }}{{ .Values.service.internalPort }}{{ end }}{{- end }}