X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-common%2FCommon-Template%2Fhelm%2Fnonrtric-common%2Ftemplates%2Fcapifcore.tpl;fp=ric-common%2FCommon-Template%2Fhelm%2Fnonrtric-common%2Ftemplates%2Fcapifcore.tpl;h=7fa85321d2800c26fdb10e50609def04dfc55fea;hb=41f01080ed18db53fe75ffea1be444084e8a4d15;hp=0000000000000000000000000000000000000000;hpb=f97b292fa01903c18b71ec8a549824c7ec3bea93;p=it%2Fdep.git diff --git a/ric-common/Common-Template/helm/nonrtric-common/templates/capifcore.tpl b/ric-common/Common-Template/helm/nonrtric-common/templates/capifcore.tpl new file mode 100644 index 00000000..7fa85321 --- /dev/null +++ b/ric-common/Common-Template/helm/nonrtric-common/templates/capifcore.tpl @@ -0,0 +1,24 @@ +################################################################################ +# Copyright (c) 2022 Nordix Foundation. # +# # +# 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.capifcore" -}} + {{- printf "capifcore" -}} +{{- end -}} + +{{- define "common.container.capifcore" -}} + {{- $name := ( include "common.name.capifcore" . ) -}} + {{- printf "container-%s" $name | trunc 63 | trimSuffix "-" -}} +{{- end -}}