Skip to content

Commit edf7177

Browse files
authored
Merge pull request #846 from djzager/envtestAPIServer
🐛 expose DefaultKubeAPIServerFlags in envtest
2 parents 5aca8b7 + b38979d commit edf7177

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/envtest/server.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,3 +307,7 @@ func (te *Environment) useExistingCluster() bool {
307307
}
308308
return *te.UseExistingCluster
309309
}
310+
311+
// DefaultKubeAPIServerFlags exposes the default args for the APIServer so that
312+
// you can use those to append your own additional arguments.
313+
var DefaultKubeAPIServerFlags = integration.APIServerDefaultArgs

0 commit comments

Comments
 (0)