16 lines
495 B
YAML
16 lines
495 B
YAML
{{/* Make sure all variables are set properly */}}
|
|
{{- include "tc.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.common.loader.apply" . }}
|