X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-common%2FCommon-Template%2Fhelm%2Fnonrtric-common%2Ftemplates%2F_a1controller.tpl;fp=ric-common%2FCommon-Template%2Fhelm%2Fnonrtric-common%2Ftemplates%2F_a1controller.tpl;h=afb5097bfe437c714f9c2c18d7d1d35b68e4aeab;hb=7e09001c5b58dab96d014fe3f9c41f89b53f3cc3;hp=0000000000000000000000000000000000000000;hpb=250396e51a04a674636d14c8d9c59b7b10dc229d;p=it%2Fdep.git diff --git a/ric-common/Common-Template/helm/nonrtric-common/templates/_a1controller.tpl b/ric-common/Common-Template/helm/nonrtric-common/templates/_a1controller.tpl new file mode 100644 index 00000000..afb5097b --- /dev/null +++ b/ric-common/Common-Template/helm/nonrtric-common/templates/_a1controller.tpl @@ -0,0 +1,24 @@ +################################################################################ +# Copyright (c) 2020 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.a1controller" -}} + {{- printf "a1controller" -}} +{{- end -}} + +{{- define "common.containername.a1controller" -}} + {{- $name := ( include "common.name.a1controller" . ) -}} + {{- printf "container-%s" $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} \ No newline at end of file