Skip to content

Commit

Permalink
helm/hivess: Always use release.name only when naming releases (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Oct 24, 2019
1 parent e8e81cf commit b0ff810
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions helm/charts/hive-selfservice-ui-node/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ If release name contains chart name it will be used as a full name.
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

Expand Down

0 comments on commit b0ff810

Please sign in to comment.