Skip to content

Disable WatchList feature gate#4773

Merged
berkayoz merged 2 commits intomasterfrom
KU-2214/1.32-disable-watchlist
Dec 5, 2024
Merged

Disable WatchList feature gate#4773
berkayoz merged 2 commits intomasterfrom
KU-2214/1.32-disable-watchlist

Conversation

@berkayoz
Copy link
Copy Markdown
Member

@berkayoz berkayoz commented Dec 4, 2024

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

Comment thread snap/hooks/configure Outdated
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
Copy Markdown
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
Copy Markdown
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.

Comment thread snap/hooks/configure Outdated
@ktsakalozos
Copy link
Copy Markdown
Member

LGTM +1 thank you @berkayoz

@berkayoz berkayoz merged commit 40fce49 into master Dec 5, 2024
@berkayoz berkayoz deleted the KU-2214/1.32-disable-watchlist branch December 5, 2024 07:52
louiseschmidtgen added a commit that referenced this pull request Jul 17, 2025
louiseschmidtgen added a commit that referenced this pull request Jul 18, 2025
* feat: bump k8s-dqlite version v1.7.0

* Revert "Disable WatchList feature gate (#4773)"
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