ytdl-web/charts/ytdl-web/templates/common.yaml

14 lines
444 B
YAML

---
{{- include "bjw-s.common.loader.init" . }}
{{- define "ytdlp-web.hardcodedValues" -}}
# Set the nameOverride based on the release name if no override has been set
{{ if not .Values.global.nameOverride }}
global:
nameOverride: "{{ .Release.Name }}"
{{ end }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "ytdlp-web.hardcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "bjw-s.common.loader.generate" . }}