scale-catalog/stable/kasm/7.4.0/templates/common.yaml

16 lines
501 B
YAML
Raw Normal View History

2024-07-13 07:59:30 +00:00
{{/* 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" . }}