Skip to content

Conversation

@GuptaManan100
Copy link
Contributor

@GuptaManan100 GuptaManan100 commented Dec 28, 2023

Description

This PR updates the k8s and the controller-runtime dependencies for the vitess-operator. A lot of build issues occurred on upgrading due to the breaking changes made. Most significantly there were 2 changes -

  1. In version 16 of controller-runtime, configuration of cache filtering has changed - ⚠️ Allow configuring more granular cache filtering kubernetes-sigs/controller-runtime#2421. This meant that the filtering of cache based on the namespaces had to change in the operator.

  2. In version 15 of controller-runtime, context was added to EventHandlers (⚠ Add context to EventHandler(s) kubernetes-sigs/controller-runtime#2139), removal of dependency injection by changing structs to being internal and having functions instead (⚠️ Refactor source/handler/predicate packages to remove dep injection kubernetes-sigs/controller-runtime#2120).

Tests with different versions of kind image -

Test kindest/node:v1.25.9 kindest/node:v1.26.0 kindest/node:v1.27.0 kindest/node:v1.28.0
vtorc_vtadmin_test
backup_restore_test
upgrade_test

Related Issues

@GuptaManan100 GuptaManan100 force-pushed the upgrade-kubernetes-version branch from efa5caf to e9bdc17 Compare December 28, 2023 15:26
@frouioui
Copy link
Member

frouioui commented Jan 3, 2024

Looks good to me, thank you @GuptaManan100!

@frouioui frouioui merged commit 52c8ecf into main Jan 3, 2024
@frouioui frouioui deleted the upgrade-kubernetes-version branch January 3, 2024 14:46
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 this pull request may close these issues.

Supported Kubernetes Versions going EOL

3 participants