File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
kubernetes-ingress/templates Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Service ports mapped are:
2929 protocol: UDP
3030{{- end }}
3131{{- range .Values.controller.service.tcpPorts }}
32- - name: {{ .name }}-tcp
32+ - name: {{ .name | trunc 15 | trimSuffix "-" }}
3333 containerPort: {{ .targetPort }}
3434 protocol: TCP
3535{{- end }}
@@ -61,7 +61,7 @@ Service ports mapped are:
6161{{- end }}
6262{{- end }}
6363{{- range .Values.controller.service.tcpPorts }}
64- - name: {{ .name }}-tcp
64+ - name: {{ .name | trunc 15 | trimSuffix "-" }}
6565 containerPort: {{ .port }}
6666 protocol: TCP
6767{{- if $useHostPort }}
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ spec:
168168 {{- end }}
169169 {{- end }}
170170 {{- range .Values.controller.service.tcpPorts }}
171- - name : {{ .name }}-tcp
171+ - name : {{ .name | trunc 15 | trimSuffix "-" }}
172172 containerPort : {{ .port }}
173173 protocol : TCP
174174 {{- if $useHostPort }}
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ spec:
167167 protocol : UDP
168168 {{- end }}
169169 {{- range .Values.controller.service.tcpPorts }}
170- - name : {{ .name }}-tcp
170+ - name : {{ .name | trunc 15 | trimSuffix "-" }}
171171 containerPort : {{ .targetPort }}
172172 protocol : TCP
173173 {{- end }}
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ spec:
162162 protocol : UDP
163163 {{- end }}
164164 {{- range .Values.controller.service.tcpPorts }}
165- - name : {{ .name }}-tcp
165+ - name : {{ .name | trunc 15 | trimSuffix "-" }}
166166 containerPort : {{ .targetPort }}
167167 protocol : TCP
168168 {{- end }}
Original file line number Diff line number Diff line change 9898 {{- end }}
9999 {{- end }}
100100 {{- range .Values.controller.service.tcpPorts }}
101- - name : {{ .name }}-tcp
101+ - name : {{ .name | trunc 15 | trimSuffix "-" }}
102102 port : {{ .port }}
103103 protocol : TCP
104104 targetPort : {{ .targetPort }}
You can’t perform that action at this time.
0 commit comments