Skip to content

Commit

Permalink
Add protocol: TCP value under ports key to avoid the known limita…
Browse files Browse the repository at this point in the history
…tion for Kubernetes 1.19 (#372)

* Add `protocol: TCP` value under `ports` key

* Update version
  • Loading branch information
Saber-W authored Aug 5, 2021
1 parent 31c49b6 commit 6f88e55
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ spec:
ports:
- name: https
port: 8443
protocol: TCP
targetPort: https
selector:
control-plane: controller-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
spec:
ports:
- port: 443
protocol: TCP
targetPort: 9443
selector:
control-plane: controller-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ spec:
ports:
- containerPort: 8443
name: https
protocol: TCP
resources: {}
serviceAccountName: opentelemetry-operator-controller-manager
terminationGracePeriodSeconds: 10
Expand Down
1 change: 1 addition & 0 deletions config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
ports:
- containerPort: 8443
name: https
protocol: TCP
- name: manager
args:
- "--metrics-addr=127.0.0.1:8080"
Expand Down
1 change: 1 addition & 0 deletions config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ spec:
- name: https
port: 8443
targetPort: https
protocol: TCP
selector:
control-plane: controller-manager
1 change: 1 addition & 0 deletions config/webhook/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ spec:
ports:
- port: 443
targetPort: 9443
protocol: TCP
selector:
control-plane: controller-manager

0 comments on commit 6f88e55

Please sign in to comment.