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