1 ################################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property. #
3 # Copyright (c) 2019 Nokia. #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
20 {{- define "common.ingressname.appmgr" -}}
21 {{- $name := ( include "common.fullname.appmgr" . ) -}}
22 {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
25 {{- define "common.ingressname.e2mgr" -}}
26 {{- $name := ( include "common.fullname.e2mgr" . ) -}}
27 {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
30 {{- define "common.ingressname.e2term" -}}
31 {{- $name := ( include "common.fullname.e2term" . ) -}}
32 {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
35 {{- define "common.ingressname.rtmgr" -}}
36 {{- $name := ( include "common.fullname.rtmgr" . ) -}}
37 {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
40 {{- define "common.ingressname.submgr" -}}
41 {{- $name := ( include "common.fullname.submgr" . ) -}}
42 {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
45 {{- define "common.ingressname.a1mediator" -}}
46 {{- $name := ( include "common.fullname.a1mediator" . ) -}}
47 {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
50 {{- define "common.ingressname.nexus" -}}
51 {{- $name := ( include "common.fullname.nexus" . ) -}}
52 {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
55 {{- define "common.ingressname.chartmuseum" -}}
56 {{- $name := ( include "common.fullname.chartmuseum" . ) -}}
57 {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
60 {{- define "common.ingressname.ves" -}}
61 {{- $name := ( include "common.fullname.ves" . ) -}}
62 {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}