TrueChartsClone/charts/stable/minecraft-java/templates/common.yaml

11 lines
331 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . -}}
{{/* Disable [mcbackup] if requested */}}
{{- if not .Values.mcbackup.enabled -}}
{{- $_ := set .Values.workload.mcbackup "enabled" false -}}
{{- end -}}
{{/* Render the templates */}}
{{- include "tc.v1.common.loader.apply" . -}}