Skip to content

Commit

Permalink
OPSEPX-2242: initial changes (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Sep 21, 2023
1 parent 6909319 commit 658d2f8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions helm/alfresco-content-services/templates/_helpers-legacy.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{/*
Create a default fully qualified name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "alfresco-content-services.fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{- define "content-services.fullname" -}}
{{- template "alfresco-content-services.fullname" . }}
{{- end -}}

{{- define "content-services.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" -}}
{{- end }}

{{- define "content-services.activemq.fullname" -}}
{{- $data := dict "Release" .Release "Values" .Values.activemq "Chart" (dict "Name" "activemq") }}
{{- include "activemq.fullname" $data }}
{{- end }}

0 comments on commit 658d2f8

Please sign in to comment.