Skip to content

Commit

Permalink
Remove APIPriorityAndFairness feature gate flag from apiserver (#200
Browse files Browse the repository at this point in the history
)
  • Loading branch information
afritzler authored Jan 15, 2024
1 parent b46f35a commit 52d6f1b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 211 deletions.
24 changes: 12 additions & 12 deletions envtestutils/apiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,18 +303,18 @@ func (a *APIServer) setupTempDir() (string, error) {
func (a *APIServer) createCmd() *exec.Cmd {
kubeconfig := filepath.Join(a.dir, "kubeconfig")
defaultArgs := ProcessArgs{
"etcd-servers": a.etcdServers,
"kubeconfig": []string{kubeconfig},
"authentication-kubeconfig": []string{kubeconfig},
"authorization-kubeconfig": []string{kubeconfig},
"bind-address": []string{a.host},
"secure-port": []string{strconv.Itoa(a.port)},
"feature-gates": []string{"APIPriorityAndFairness=false"},
"audit-log-path": []string{"-"},
"audit-log-maxage": []string{"0"},
"audit-log-maxbackup": []string{"0"},
"tls-cert-file": []string{path.Join(a.certDir, "tls.crt")},
"tls-private-key-file": []string{path.Join(a.certDir, "tls.key")},
"etcd-servers": a.etcdServers,
"kubeconfig": []string{kubeconfig},
"authentication-kubeconfig": []string{kubeconfig},
"authorization-kubeconfig": []string{kubeconfig},
"bind-address": []string{a.host},
"secure-port": []string{strconv.Itoa(a.port)},
"enable-priority-and-fairness": []string{"false"},
"audit-log-path": []string{"-"},
"audit-log-maxage": []string{"0"},
"audit-log-maxbackup": []string{"0"},
"tls-cert-file": []string{path.Join(a.certDir, "tls.crt")},
"tls-private-key-file": []string{path.Join(a.certDir, "tls.key")},
}
args := a.mergeArgs(a.args, defaultArgs)

Expand Down
2 changes: 1 addition & 1 deletion sample/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/ironcore-dev/openapi-extractor/sample

go 1.21

require github.com/ironcore-dev/ironcore v0.1.2-0.20240111223726-47afcd8e8d13 // indirect
require github.com/ironcore-dev/ironcore v0.1.2-0.20240115105645-09183cfa3d80
Loading

0 comments on commit 52d6f1b

Please sign in to comment.