helm-charts/charts/other/app-template/templates/common.yaml
2022-08-09 11:00:07 +02:00

15 lines
399 B
YAML

---
{{- include "common.values.setup" . }}
{{- define "app-template.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 "app-template.hardcodedValues" . | fromYaml) -}}
{{ include "common.all" . }}