You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helm/pkg/lint/rules/testdata/badlibrary/templates/fullname.tpl

11 lines
461 B

{{- define "common.fullname"}}
{{- $global := default (dict) .Values.global -}}
{{- $base := default .Chart.Name .Values.nameOverride -}}
{{- $gpre := default "" $global.namePrefix -}}
{{- $pre := default "" .Values.namePrefix -}}
{{- $suf := default "" .Values.nameSuffix -}}
{{- $gsuf := default "" $global.nameSuffix -}}
{{- $fullname := print $gpre $pre $base $suf $gsuf -}}
{{- $fullname | lower | trunc 54 | trimSuffix "-" -}}
{{- end -}}