-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate away from metadata.ClusterName use for k8s 1.25 support (#393)
* k8s1.25 * GetAnnotations() replaces ClusterName field in ClusterResourceId interface * actually support k8s v1.25 (with controller-runtime v0.13.1) * update go templates; changelog; dep updates * put changelog in folder * update from generated code * add annotations field to ClusterObjectRef proto to match ClusterResourceId interface * remove annotations field from ClusterObjectRef proto * Adding changelog file to new location * Deleting changelog file from old location * contrib/reconciler: Update to converting to new interface. Not stored directly as its not exported. * Adding changelog file to new location * Deleting changelog file from old location * handle istio changing their api in pointless ways * Adding changelog file to new location * Deleting changelog file from old location * make generated-code -B; update changelog * move changelog * make generated-code -B * GetClusterName should check for deprecated cluster name approach * update changelog folder * codegen * silly diff in codegen (bc of go version used locally) * handle the possibility that k8s apimachinery v0.24.x is being used by importing project (which gets clusterName with ZZZ nonsense) * update changelog; make GetDeprecatedClusterName() an internal method * only call the deprecated func if needed Co-authored-by: Jenny Shu <[email protected]> * actually, it's a breaking change * update changelog folder Co-authored-by: Eitan Yarmush <[email protected]> Co-authored-by: changelog-bot <changelog-bot> Co-authored-by: nfuden <[email protected]> Co-authored-by: Jenny Shu <[email protected]>
- Loading branch information
1 parent
32358d3
commit feb141e
Showing
31 changed files
with
495 additions
and
1,031 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
changelog: | ||
- type: BREAKING_CHANGE | ||
issueLink: https://github.com/solo-io/gloo-mesh-enterprise/issues/5158 | ||
description: | | ||
Go dependencies updated to k8s v1.25; support k8s versions pre-v1.24, v1.24, and post-v1.24 | ||
that gradually change how metadata.clusterName is accessed (i.e. deprecation -> removal) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
Name|Version|License | ||
---|---|--- | ||
[golang-lru/simplelru](https://github.com/hashicorp/golang-lru)|v0.5.4|Mozilla Public License 2.0 | ||
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
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
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
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
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
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.