Skip to content

Commit

Permalink
Update _helpers.tpl
Browse files Browse the repository at this point in the history
	
add product check for app-angular.fullname creation
  • Loading branch information
michaelgloeckner authored May 17, 2024
1 parent dd50992 commit 3810276
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{{- define "app-angular.fullname" -}}
{{- $product := .Values.product | default true -}}
{{- if $product -}}
{{- if or .Values.product (not (hasKey .Values "product")) -}}
{{ .Release.Name }}-{{ .Values.name | default .Chart.Name }}
{{- else -}}
{{ .Release.Name }}
{{- end -}}
{{- end -}}


{{- define "app-angular.product.name" -}}
{{ .Release.Name }}
{{- end -}}
Expand Down

0 comments on commit 3810276

Please sign in to comment.