scale-catalog/stable/kasm/7.4.0/templates/common.yaml
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

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" . }}