mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 09:16:21 -03:00
fix names
This commit is contained in:
@@ -38,6 +38,25 @@ Create a default fully qualified app name.
|
||||
{{- trunc 63 $name | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Create chart name and version as used by the chart label */}}
|
||||
{{- define "ix.common.names.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create the "name" + "." + "namespace" fqdn
|
||||
*/}}
|
||||
{{- define "ix.common.names.fqdn" -}}
|
||||
{{- printf "%s.%s" (include "tc.common.names.fullname" .) .Release.Namespace | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create the "fqdn" + "." + "svc.cluster.local"
|
||||
*/}}
|
||||
{{- define "ix.common.names.fqdn.cluster" -}}
|
||||
{{- printf "%s.%s" (include "ix.common.names.fqdn" .) ".svc.cluster.local" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the properly cased vresion of the controller type
|
||||
*/}}
|
||||
@@ -52,17 +71,3 @@ Return the properly cased vresion of the controller type
|
||||
{{- fail (printf "Not a valid controller.type (%s)" .Values.controller.type) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create the "name" + "." + "namespace" fqdn
|
||||
*/}}
|
||||
{{- define "ix.common.names.fqdn" -}}
|
||||
{{- printf "%s.%s" (include "tc.common.names.fullname" .) .Release.Namespace | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create the "fqdn" + "." + "svc.cluster.local"
|
||||
*/}}
|
||||
{{- define "ix.common.names.fqdn" -}}
|
||||
{{- printf "%s.%s" (include "ix.common.names.fqdn" .) ".svc.cluster.local" -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user