Merge "change the kong-infra ingress controller nodeport to 29080 to avoid going...
[it/dep.git] / ric-common / Common-Template / helm / ric-common / templates / _name.tpl
index f86bc24..bbfce4f 100644 (file)
 
 
 
+{{- 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 -}}