Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove feature gate
Browse files Browse the repository at this point in the history
bschimke95 committed Dec 6, 2024
1 parent de6a2e0 commit 938a117
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/k8s/pkg/k8sd/types/cluster_config_datastore.go
Original file line number Diff line number Diff line change
@@ -46,8 +46,6 @@ func (c Datastore) ToKubeAPIServerArguments(p DatastorePathsProvider) (map[strin
switch c.GetType() {
case "k8s-dqlite":
updateArgs["--etcd-servers"] = fmt.Sprintf("unix://%s", filepath.Join(p.K8sDqliteStateDir(), "k8s-dqlite.sock"))
// The watch list feature is enable by default on >1.32, but k8s-dqlite currently doesn't support it.
updateArgs["--feature-gates"] = "WatchList=false"
deleteArgs = []string{"--etcd-cafile", "--etcd-certfile", "--etcd-keyfile"}
case "external":
updateArgs["--etcd-servers"] = strings.Join(c.GetExternalServers(), ",")

0 comments on commit 938a117

Please sign in to comment.