X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-common%2FCommon-Template%2Fhelm%2Fric-common%2Ftemplates%2F_deploymentname.tpl;fp=ric-common%2FCommon-Template%2Fhelm%2Fric-common%2Ftemplates%2F_deploymentname.tpl;h=0000000000000000000000000000000000000000;hb=dc00cdf008775e2ac5dddb186d1eb81e80370b69;hp=a2704eaece061ca469297b3ac45cb841dda3e68b;hpb=ca9b3ee64b3966fa1d20226b361b4f614434129e;p=it%2Fdep.git diff --git a/ric-common/Common-Template/helm/ric-common/templates/_deploymentname.tpl b/ric-common/Common-Template/helm/ric-common/templates/_deploymentname.tpl deleted file mode 100644 index a2704eae..00000000 --- a/ric-common/Common-Template/helm/ric-common/templates/_deploymentname.tpl +++ /dev/null @@ -1,91 +0,0 @@ -################################################################################ -# Copyright (c) 2019 AT&T Intellectual Property. # -# Copyright (c) 2019 Nokia. # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); # -# you may not use this file except in compliance with the License. # -# You may obtain a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -################################################################################ - -{{/* - Resolve the name of a chart's deployment. -*/}} - - -{{- define "common.deploymentname.appmgr" -}} - {{- $name := ( include "common.fullname.appmgr" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.dbaas" -}} - {{- $name := ( include "common.fullname.dbaas" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.e2mgr" -}} - {{- $name := ( include "common.fullname.e2mgr" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.rsm" -}} - {{- $name := ( include "common.fullname.rsm" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.rtmgr" -}} - {{- $name := ( include "common.fullname.rtmgr" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.submgr" -}} - {{- $name := ( include "common.fullname.submgr" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.a1mediator" -}} - {{- $name := ( include "common.fullname.a1mediator" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.vespamgr" -}} - {{- $name := ( include "common.fullname.vespamgr" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.jaegeradapter" -}} - {{- $name := ( include "common.fullname.jaegeradapter" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.nexus" -}} - {{- $name := ( include "common.fullname.nexus" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.chartmuseum" -}} - {{- $name := ( include "common.fullname.chartmuseum" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.dashboard" -}} - {{- $name := ( include "common.fullname.dashboard" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.messagerouter" -}} - {{- $name := ( include "common.fullname.messagerouter" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{- define "common.deploymentname.ves" -}} - {{- $name := ( include "common.fullname.ves" . ) -}} - {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} -{{- end -}}