19 lines
571 B
YAML
19 lines
571 B
YAML
{{/* Make sure all variables are set properly */}}
|
|
{{- include "tc.v1.common.loader.init" . }}
|
|
|
|
{{- $secret := include "kimai.secret" . | fromYaml -}}
|
|
{{- if $secret -}}
|
|
{{ $secret := (mustMergeOverwrite .Values.secret $secret) }}
|
|
{{- $_ := set .Values "secret" $secret -}}
|
|
{{- end -}}
|
|
|
|
{{- $config := include "kimai.configmap" . | fromYaml -}}
|
|
{{- if $config -}}
|
|
{{ $config := (mustMergeOverwrite .Values.configmap $config) }}
|
|
{{- $_ := set .Values "configmap" $config -}}
|
|
{{- end -}}
|
|
|
|
|
|
{{/* Render the templates */}}
|
|
{{ include "tc.v1.common.loader.apply" . }}
|