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

Disable WatchList feature gate #4773

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Conversation

berkayoz
Copy link
Member

@berkayoz berkayoz commented Dec 4, 2024

Disable WatchList feature gate(enabled by default 1.32+) until k8s-dqlite can properly support it.

@@ -385,6 +385,13 @@ then
need_api_restart=true
fi

# Disable the watchlist feature until k8s-dqlite can handle it
if ! grep -e "feature-gates=WatchList=false" ${SNAP_DATA}/args/kube-apiserver
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this enough? What if some one has set feature-gates=AnotherFeature=True,WatchList=false? Or what if someone has WatchList=true but is running etcd?

I think we should detect the absence of WatchList and make sure it is set to false.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated to append WatchList=false if it's absent.

snap/hooks/configure Outdated Show resolved Hide resolved
@ktsakalozos
Copy link
Member

LGTM +1 thank you @berkayoz

@berkayoz berkayoz merged commit 40fce49 into master Dec 5, 2024
12 checks passed
@berkayoz berkayoz deleted the KU-2214/1.32-disable-watchlist branch December 5, 2024 07:52
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.

2 participants