Extend K8S and RIC installation instructions
[it/dep.git] / ric-common / Common-Template / helm / ric-common / templates / _ingressname.tpl
1 ################################################################################
2 #   Copyright (c) 2019 AT&T Intellectual Property.                             #
3 #   Copyright (c) 2019 Nokia.                                                  #
4 #                                                                              #
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                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
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 ################################################################################
17
18
19
20 {{- define "common.ingressname.appmgr" -}}
21   {{- $name := ( include "common.fullname.appmgr" . ) -}}
22   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
23 {{- end -}}
24
25 {{- define "common.ingressname.e2mgr" -}}
26   {{- $name := ( include "common.fullname.e2mgr" . ) -}}
27   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
28 {{- end -}}
29
30 {{- define "common.ingressname.rsm" -}}
31   {{- $name := ( include "common.fullname.rsm" . ) -}}
32   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
33 {{- end -}}
34
35 {{- define "common.ingressname.e2term" -}}
36   {{- $name := ( include "common.fullname.e2term" . ) -}}
37   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
38 {{- end -}}
39
40 {{- define "common.ingressname.rtmgr" -}}
41   {{- $name := ( include "common.fullname.rtmgr" . ) -}}
42   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
43 {{- end -}}
44
45 {{- define "common.ingressname.submgr" -}}
46   {{- $name := ( include "common.fullname.submgr" . ) -}}
47   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
48 {{- end -}}
49
50 {{- define "common.ingressname.a1mediator" -}}
51   {{- $name := ( include "common.fullname.a1mediator" . ) -}}
52   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
53 {{- end -}}
54
55 {{- define "common.ingressname.nexus" -}}
56   {{- $name := ( include "common.fullname.nexus" . ) -}}
57   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
58 {{- end -}}
59
60 {{- define "common.ingressname.chartmuseum" -}}
61   {{- $name := ( include "common.fullname.chartmuseum" . ) -}}
62   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
63 {{- end -}}
64
65 {{- define "common.ingressname.ves" -}}
66   {{- $name := ( include "common.fullname.ves" . ) -}}
67   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
68 {{- end -}}
69
70 {{- define "common.ingressname.dashboard" -}}
71   {{- $name := ( include "common.fullname.dashboard" . ) -}}
72   {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}}
73 {{- end -}}