catalog/stable/kasm/7.3.0/templates/common.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" . }}