Skip to content

v0.27.0 - Support for Kubernetes v1.25.x

Compare
Choose a tag to compare
@conradhanson conradhanson released this 13 Jan 19:00
feb141e
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]>