Skip to content

Commit

Permalink
Merge pull request #1552 from DirectXMan12/docs/flags-deprecation
Browse files Browse the repository at this point in the history
📖 Mark all templated flag pieces as deprecated
  • Loading branch information
k8s-ci-robot committed Jun 7, 2021
2 parents abb406d + 2c1b1dd commit a905949
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/envtest/server.go
Expand Up @@ -163,6 +163,8 @@ type Environment struct {
ControlPlaneStopTimeout time.Duration

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

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

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

0 comments on commit a905949

Please sign in to comment.