Skip to content

Commit

Permalink
fix: update max length
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfaircloth committed Feb 17, 2022
1 parent 147ba16 commit dff1c87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/splunk-operator-app-deployer/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ If release name contains chart name it will be used as a full name.
*/}}
{{- define "job.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 58 | trimSuffix "-" -}}
{{- .Values.fullnameOverride | trunc 56 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- .Release.Name | trunc 56 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name "spl-app" | trunc 58 | trimSuffix "-" -}}
{{- printf "%s-%s" .Release.Name "spl-app" | trunc 48 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
Expand Down

0 comments on commit dff1c87

Please sign in to comment.