-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the logic for setting the nested
protocol
field in k8s objects
containing an array of `ports`. The logic was added in March 2021 as a workaround for a known k8s issue, which causes getting the declared fields for k8s objects containing an array of `ports` to fail. The fixes to the k8s issue have been merged into k8s 1.20 and 1.21: 1) kubernetes/kubernetes#96317 (merged in 1.20) 2) kubernetes/kubernetes#98576 (merged in 1.21). k8s 1.21 is no longer supported on GKE and Anthos: 1) GKE release schedule: https://cloud.google.com/kubernetes-engine/docs/release-schedule 2) Anthos version and upgrade support: https://cloud.google.com/anthos/docs/version-and-upgrade-support Therefore, we can remove the logic and related unit tests. We can keep the e2e test to make sure this change does not break things.
- Loading branch information
1 parent
2a55baa
commit 2dd18de
Showing
3 changed files
with
32 additions
and
589 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.