Skip to content

Commit a905949

Browse files
authored
Merge pull request #1552 from DirectXMan12/docs/flags-deprecation
📖 Mark all templated flag pieces as deprecated
2 parents abb406d + 2c1b1dd commit a905949

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/envtest/server.go

+4
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ type Environment struct {
163163
ControlPlaneStopTimeout time.Duration
164164

165165
// KubeAPIServerFlags is the set of flags passed while starting the api server.
166+
//
167+
// Deprecated: use ControlPlane.GetAPIServer().Configure() instead.
166168
KubeAPIServerFlags []string
167169

168170
// AttachControlPlaneOutput indicates if control plane output will be attached to os.Stdout and os.Stderr.
@@ -368,4 +370,6 @@ func (te *Environment) useExistingCluster() bool {
368370

369371
// DefaultKubeAPIServerFlags exposes the default args for the APIServer so that
370372
// you can use those to append your own additional arguments.
373+
//
374+
// Deprecated: use APIServer.Configure() instead.
371375
var DefaultKubeAPIServerFlags = controlplane.APIServerDefaultArgs

0 commit comments

Comments
 (0)