We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5543e commit a1e43b4Copy full SHA for a1e43b4
test/integration/framework/controlplane_utils.go
@@ -98,3 +98,11 @@ func SharedEtcd() *storagebackend.Config {
98
cfg.Transport.ServerList = []string{GetEtcdURL()}
99
return cfg
100
}
101
+
102
+// DefaultAPIServerFlags returns the default flags used to run kube-apiserver on tests
103
+func DefaultTestServerFlags() []string {
104
+ return []string{
105
+ "--endpoint-reconciler-type=none", // Disable Endpoints Reconciler so it does not keep failing trying to use 127.0.0.1 as a valid Endpoint.
106
+ "--disable-admission-plugins=ServiceAccount", // Disable ServiceAccount admission plugin as we don't have serviceaccount controller running.
107
+ }
108
+}
0 commit comments