Skip to content

Commit

Permalink
avoid format error when no nameOverride provided
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Dec 22, 2022
1 parent eca5973 commit 3dce7ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/stromae-v2/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ dependencies:
repository: https://charts.bitnami.com/bitnami

type: application
version: 0.5.6
version: 0.5.7
appVersion: "1.16.0"
4 changes: 2 additions & 2 deletions charts/stromae-v2/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Expand the name of the chart.


{{- define "stromae.api.name" -}}
{{- .Values.api.nameOverride | default (printf "-%s-api" .Chart.Name ) }}
{{- .Values.api.nameOverride | default (printf "%s-api" .Chart.Name ) }}
{{- end }}

{{- define "stromae.ui.name" -}}
{{- .Values.ui.nameOverride | default (printf "-%s-ui" .Chart.Name ) }}
{{- .Values.ui.nameOverride | default (printf "%s-ui" .Chart.Name ) }}
{{- end }}

{{/*
Expand Down

0 comments on commit 3dce7ef

Please sign in to comment.