catalog/dev/wbo/5.0.14/templates/common.yaml

18 lines
539 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render secrets for wbo */}}
{{- $secrets := include "wbo.secret" . | fromYaml -}}
{{- if $secrets -}}
{{- $_ := set .Values.secret "wbo-secret" $secrets -}}
{{- end -}}
{{/* Render configmap for wbo */}}
{{- $configmap := include "wbo.configmap" . | fromYaml -}}
{{- if $configmap -}}
{{- $_ := set .Values.configmap "wbo-config" $configmap -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}