X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-common%2FCommon-Template%2Fhelm%2Fnonrtric-common%2Ftemplates%2Fservicemanager.tpl;fp=ric-common%2FCommon-Template%2Fhelm%2Fnonrtric-common%2Ftemplates%2Fservicemanager.tpl;h=ed1ba7397e6edb059d95f80620594dd326a57d5f;hb=de740b72dc299a2b874ecbeba3d9a2a66bfdc904;hp=0000000000000000000000000000000000000000;hpb=9eed495fd21300d5242c844d670f741304fb582d;p=it%2Fdep.git diff --git a/ric-common/Common-Template/helm/nonrtric-common/templates/servicemanager.tpl b/ric-common/Common-Template/helm/nonrtric-common/templates/servicemanager.tpl new file mode 100644 index 00000000..ed1ba739 --- /dev/null +++ b/ric-common/Common-Template/helm/nonrtric-common/templates/servicemanager.tpl @@ -0,0 +1,22 @@ +################################################################################ +# Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved. # +# # +# 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. # +################################################################################ +{{- define "common.name.servicemanager" -}} + {{- printf "servicemanager" -}} +{{- end -}} +{{- define "common.container.servicemanager" -}} + {{- $name := ( include "common.name.servicemanager" . ) -}} + {{- printf "container-%s" $name | trunc 63 | trimSuffix "-" -}} +{{- end -}}