Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump k8s to 1.26 #2035

Closed
jmrodri opened this issue Nov 1, 2022 · 5 comments · Fixed by #2087
Closed

Bump k8s to 1.26 #2035

jmrodri opened this issue Nov 1, 2022 · 5 comments · Fixed by #2087

Comments

@jmrodri
Copy link
Contributor

jmrodri commented Nov 1, 2022

Creating an issue to ask for the 1.26 bump. https://www.k8s.dev/resources/release/#kubernetes-126

K8S 1.26 GA date is 2002/12/06

@lengrongfu
Copy link

@jmrodri
"K8S 1.26 GA date is 2002/12/06"=>"K8S 1.26 GA date is 2012/12/06"

@chiukapoor
Copy link

@jmrodri @lengrongfu

K8S 1.26 GA date is 2002/12/06

K8S 1.26 GA date is 2022/12/06

@katexochen
Copy link

1.26 is out, and controller-runtime breaks when updating k8s Go dependencies:

❯ go vet ./...
# sigs.k8s.io/controller-runtime/pkg/cache
../../../../go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/cache/informer_cache.go:144:9: cannot use i.Informer (variable of type "k8s.io/client-go/tools/cache".SharedIndexInformer) as type Informer in return statement:
        "k8s.io/client-go/tools/cache".SharedIndexInformer does not implement Informer (wrong type for AddEventHandler method)
                have AddEventHandler(handler "k8s.io/client-go/tools/cache".ResourceEventHandler) ("k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration, error)
                want AddEventHandler(handler "k8s.io/client-go/tools/cache".ResourceEventHandler)
../../../../go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/cache/informer_cache.go:158:9: cannot use i.Informer (variable of type "k8s.io/client-go/tools/cache".SharedIndexInformer) as type Informer in return statement:
        "k8s.io/client-go/tools/cache".SharedIndexInformer does not implement Informer (wrong type for AddEventHandler method)
                have AddEventHandler(handler "k8s.io/client-go/tools/cache".ResourceEventHandler) ("k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration, error)
                want AddEventHandler(handler "k8s.io/client-go/tools/cache".ResourceEventHandler)

@xor22h
Copy link

xor22h commented Dec 14, 2022

Is there a plan for new version released? as we face same issues as @katexochen

@arkodg
Copy link

arkodg commented Dec 16, 2022

@xor22h the v0.14.0 release has included the k8s 1.26 bump

arkodg added a commit to arkodg/gateway that referenced this issue Dec 16, 2022
Addresses kubernetes-sigs/controller-runtime#2035
which was fixed with kubernetes-sigs/controller-runtime#2087
and included in v0.14.0

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants