File tree Expand file tree Collapse file tree 8 files changed +37
-5
lines changed
scripts/devtron-reference-helm-charts
deployment-chart_4-19-0/templates
deployment-chart_4-20-0/templates
reference-chart_4-19-0/templates
reference-chart_4-20-0/templates Expand file tree Collapse file tree 8 files changed +37
-5
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ spec:
186
186
protocol : TCP
187
187
name : envoy-admin
188
188
{{- range $index, $element := .Values.ContainerPort }}
189
- - name : {{ $element.name}}
189
+ - name : envoy- {{ $element.name}}
190
190
containerPort : {{ $element.envoyPort | default (add 8790 $index) }}
191
191
protocol : TCP
192
192
{{- end }}
Original file line number Diff line number Diff line change 33
33
{{- end }}
34
34
{{- if .targetPort }}
35
35
targetPort : {{ .targetPort }}
36
+ {{- else if $.Values.appMetrics }}
37
+ targetPort : envoy-{{ .name }}
36
38
{{- else }}
37
39
targetPort : {{ .name }}
38
40
{{- end }}
69
71
{{- else }}
70
72
- port : {{ .port }}
71
73
{{- end }}
74
+ {{- if .targetPort }}
75
+ targetPort : {{ .targetPort }}
76
+ {{- else if $.Values.appMetrics }}
77
+ targetPort : envoy-{{ .name }}
78
+ {{- else }}
72
79
targetPort : {{ .name }}
80
+ {{- end }}
73
81
protocol : TCP
74
82
name : {{ .name }}
75
83
{{- end }}
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ spec:
513
513
protocol : TCP
514
514
name : envoy-admin
515
515
{{- range $index, $element := .Values.ContainerPort }}
516
- - name : {{ $element.name}}
516
+ - name : envoy- {{ $element.name}}
517
517
containerPort : {{ $element.envoyPort | default (add 8790 $index) }}
518
518
protocol : TCP
519
519
{{- end }}
@@ -1123,7 +1123,7 @@ spec:
1123
1123
protocol : TCP
1124
1124
name : envoy-admin
1125
1125
{{- range $index, $element := .Values.ContainerPort }}
1126
- - name : {{ $element.name}}
1126
+ - name : envoy- {{ $element.name}}
1127
1127
containerPort : {{ $element.envoyPort | default (add 8790 $index) }}
1128
1128
protocol : TCP
1129
1129
{{- end }}
Original file line number Diff line number Diff line change 33
33
{{- end }}
34
34
{{- if .targetPort }}
35
35
targetPort : {{ .targetPort }}
36
+ {{- else if $.Values.appMetrics }}
37
+ targetPort : envoy-{{ .name }}
36
38
{{- else }}
37
39
targetPort : {{ .name }}
38
40
{{- end }}
80
82
{{- else }}
81
83
- port : {{ .port }}
82
84
{{- end }}
85
+ {{- if .targetPort }}
86
+ targetPort : {{ .targetPort }}
87
+ {{- else if $.Values.appMetrics }}
88
+ targetPort : envoy-{{ .name }}
89
+ {{- else }}
83
90
targetPort : {{ .name }}
91
+ {{- end }}
84
92
protocol : TCP
85
93
name : {{ .name }}
86
94
{{- end }}
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ spec:
186
186
protocol : TCP
187
187
name : envoy-admin
188
188
{{- range $index, $element := .Values.ContainerPort }}
189
- - name : {{ $element.name}}
189
+ - name : envoy- {{ $element.name}}
190
190
containerPort : {{ $element.envoyPort | default (add 8790 $index) }}
191
191
protocol : TCP
192
192
{{- end }}
Original file line number Diff line number Diff line change 33
33
{{- end }}
34
34
{{- if .targetPort }}
35
35
targetPort : {{ .targetPort }}
36
+ {{- else if $.Values.appMetrics }}
37
+ targetPort : envoy-{{ .name }}
36
38
{{- else }}
37
39
targetPort : {{ .name }}
38
40
{{- end }}
69
71
{{- else }}
70
72
- port : {{ .port }}
71
73
{{- end }}
74
+ {{- if .targetPort }}
75
+ targetPort : {{ .targetPort }}
76
+ {{- else if $.Values.appMetrics }}
77
+ targetPort : envoy-{{ .name }}
78
+ {{- else }}
72
79
targetPort : {{ .name }}
80
+ {{- end }}
73
81
protocol : TCP
74
82
name : {{ .name }}
75
83
{{- end }}
Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ spec:
487
487
protocol : TCP
488
488
name : envoy-admin
489
489
{{- range $index, $element := .Values.ContainerPort }}
490
- - name : {{ $element.name}}
490
+ - name : envoy- {{ $element.name}}
491
491
containerPort : {{ $element.envoyPort | default (add 8790 $index) }}
492
492
protocol : TCP
493
493
{{- end }}
Original file line number Diff line number Diff line change 33
33
{{- end }}
34
34
{{- if .targetPort }}
35
35
targetPort : {{ .targetPort }}
36
+ {{- else if $.Values.appMetrics }}
37
+ targetPort : envoy-{{ .name }}
36
38
{{- else }}
37
39
targetPort : {{ .name }}
38
40
{{- end }}
83
85
{{- else }}
84
86
- port : {{ .port }}
85
87
{{- end }}
88
+ {{- if .targetPort }}
89
+ targetPort : {{ .targetPort }}
90
+ {{- else if $.Values.appMetrics }}
91
+ targetPort : envoy-{{ .name }}
92
+ {{- else }}
86
93
targetPort : {{ .name }}
94
+ {{- end }}
87
95
protocol : TCP
88
96
name : {{ .name }}
89
97
{{- end }}
You can’t perform that action at this time.
0 commit comments