TrueChartsCatalogClone/stable/lidarr/17.0.2/templates/common.yaml

12 lines
397 B
YAML
Raw Normal View History

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