Skip to content

Commit de12fc1

Browse files
authored
Merge pull request #4791 from bouk/manifest-add-staticport
deploy: add protocol to all Container/ServicePorts
2 parents d523b4a + 5b918e2 commit de12fc1

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

deploy/cloud-generic/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ spec:
4444
ports:
4545
- name: http
4646
containerPort: 80
47+
protocol: TCP
4748
- name: https
4849
containerPort: 443
50+
protocol: TCP
4951
livenessProbe:
5052
failureThreshold: 3
5153
httpGet:

deploy/cloud-generic/service.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ spec:
88
ports:
99
- name: http
1010
port: 80
11+
protocol: TCP
1112
targetPort: http
1213
- name: https
1314
port: 443
15+
protocol: TCP
1416
targetPort: https

deploy/static/mandatory.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,10 @@ spec:
246246
ports:
247247
- name: http
248248
containerPort: 80
249+
protocol: TCP
249250
- name: https
250251
containerPort: 443
252+
protocol: TCP
251253
livenessProbe:
252254
failureThreshold: 3
253255
httpGet:

deploy/static/provider/aws/service-l4.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ spec:
2121
ports:
2222
- name: http
2323
port: 80
24+
protocol: TCP
2425
targetPort: http
2526
- name: https
2627
port: 443
28+
protocol: TCP
2729
targetPort: https
2830

2931
---

deploy/static/provider/aws/service-l7.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ spec:
2525
ports:
2626
- name: http
2727
port: 80
28+
protocol: TCP
2829
targetPort: http
2930
- name: https
3031
port: 443
32+
protocol: TCP
3133
targetPort: http
3234

3335
---

deploy/static/provider/aws/service-nlb.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ spec:
1919
ports:
2020
- name: http
2121
port: 80
22+
protocol: TCP
2223
targetPort: http
2324
- name: https
2425
port: 443
26+
protocol: TCP
2527
targetPort: https
2628

2729
---

deploy/static/provider/cloud-generic.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ spec:
1515
ports:
1616
- name: http
1717
port: 80
18+
protocol: TCP
1819
targetPort: http
1920
- name: https
2021
port: 443
22+
protocol: TCP
2123
targetPort: https
2224

2325
---

0 commit comments

Comments
 (0)