+{{- define "common.name.submgr" -}}
+ {{- if .Values.submgr -}}
+ {{- if .Values.submgr.nameOverride -}}
+ {{- printf "%s" .Values.submgr.nameOverride -}}
+ {{- else -}}
+ {{- printf "submgr" -}}
+ {{- end -}}
+ {{- else -}}
+ {{- printf "submgr" -}}
+ {{- end -}}
+{{- end -}}
+
+
+{{- define "common.fullname.submgr" -}}
+ {{- $name := ( include "common.name.submgr" . ) -}}
+ {{- $namespace := ( include "common.namespace.platform" . ) -}}
+ {{- printf "%s-%s" $namespace $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
+
+
+
+
+
+
{{- define "common.name.a1mediator" -}}
{{- if .Values.a1mediator -}}
{{- if .Values.a1mediator.nameOverride -}}
{{- printf "%s-%s" $namespace $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
+{{- define "common.name.chartmuseum" -}}
+ {{- if .Values.chartmuseum -}}
+ {{- if .Values.chartmuseum.nameOverride -}}
+ {{- printf "%s" .Values.chartmuseum.nameOverride -}}
+ {{- else -}}
+ {{- printf "chartmuseum" -}}
+ {{- end -}}
+ {{- else -}}
+ {{- printf "chartmuseum" -}}
+ {{- end -}}
+{{- end -}}
+
+
+{{- define "common.fullname.chartmuseum" -}}
+ {{- $name := ( include "common.name.chartmuseum" . ) -}}
+ {{- $namespace := ( include "common.namespace.infra" . ) -}}
+ {{- printf "%s-%s" $namespace $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
{{- define "common.name.dashboard" -}}
{{- if .Values.dashboard -}}