summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/templates/_profileProperty.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/so/templates/_profileProperty.tpl')
-rw-r--r--kubernetes/so/templates/_profileProperty.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/so/templates/_profileProperty.tpl b/kubernetes/so/templates/_profileProperty.tpl
new file mode 100644
index 0000000000..113bc343d0
--- /dev/null
+++ b/kubernetes/so/templates/_profileProperty.tpl
@@ -0,0 +1,3 @@
+{{- define "helpers.profileProperty" -}}
+ {{ if eq .condition true }}{{.value1}}{{else}}{{.value2}} {{ end }}
+{{- end -}}