X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fcontrolpanel%2Ftemplates%2F_controlpanel.tpl;fp=nonrtric%2Fhelm%2Fcontrolpanel%2Ftemplates%2F_controlpanel.tpl;h=c8efba334638cdfeb62ca456a97f9adea26f324c;hb=9261cb42473e94facab531786237924c283cfc1c;hp=0000000000000000000000000000000000000000;hpb=d397e12d21261ecb9aa1d8f6381aaf5b168e4b81;p=it%2Fdep.git diff --git a/nonrtric/helm/controlpanel/templates/_controlpanel.tpl b/nonrtric/helm/controlpanel/templates/_controlpanel.tpl new file mode 100644 index 00000000..c8efba33 --- /dev/null +++ b/nonrtric/helm/controlpanel/templates/_controlpanel.tpl @@ -0,0 +1,32 @@ +################################################################################ +# 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.controlpanel" -}} + {{- printf "controlpanel" -}} +{{- end -}} + +{{- define "common.namespace.nonrtric" -}} + {{- printf "nonrtric" -}} +{{- end -}} + +{{- define "common.containername.controlpanel" -}} + {{- $name := ( include "common.name.controlpanel" . ) -}} + {{- printf "container-%s" $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{- define "common.serviceport.controlpanel.http" -}}30090{{- end -}} + +{{- define "common.serviceport.controlpanel.container" -}}8080{{- end -}} \ No newline at end of file