TrueChartsCatalogClone/stable/qbittorrent/19.8.15/templates/common.yaml

12 lines
409 B
YAML

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