16 lines
501 B
YAML
16 lines
501 B
YAML
|
{{/* Make sure all variables are set properly */}}
|
||
|
{{- include "tc.v1.common.loader.init" . }}
|
||
|
|
||
|
{{- if hasKey .Values "kasm" -}}
|
||
|
{{- if .Values.kasm.mountUdev -}}
|
||
|
{{- $_ := set .Values.persistence "udev" (fromYaml (include "kasm.udev.mount" .)) -}}
|
||
|
{{- end -}}
|
||
|
|
||
|
{{- if .Values.kasm.mountInput -}}
|
||
|
{{- $_ := set .Values.persistence "input" (fromYaml (include "kasm.input.mount" .)) -}}
|
||
|
{{- end -}}
|
||
|
{{- end -}}
|
||
|
|
||
|
{{/* Render the templates */}}
|
||
|
{{ include "tc.v1.common.loader.apply" . }}
|