Documentation
¶
Overview ¶
Package app implements a server that runs a stand-alone version of the certificates controller for GKE clusters.
Package app implements a server that runs a stand-alone version of the certificates controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGKECertificatesControllerCommand ¶
NewGKECertificatesControllerCommand creates a new *cobra.Command with default parameters.
func Run ¶
func Run(s *GKECertificatesController) error
Run runs the GKECertificatesController. This should never exit.
Types ¶
type GKECertificatesController ¶
type GKECertificatesController struct {
Kubeconfig string
ClusterSigningGKEKubeconfig string
ClusterSigningGKERetryBackoff metav1.Duration
ApproveAllKubeletCSRsForGroup string
}
GKECertificatesController is the main context object for the package.
func NewGKECertificatesController ¶
func NewGKECertificatesController() *GKECertificatesController
Create a new instance of a GKECertificatesController with default parameters.
func (*GKECertificatesController) AddFlags ¶
func (s *GKECertificatesController) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for a specific GKECertificatesController to the specified FlagSet.
type GKESigner ¶
type GKESigner struct {
// contains filtered or unexported fields
}
GKESigner uses external calls to GKE in order to sign certificate signing requests.
Source Files
¶
- gke_certificates_controller.go
- gke_signer.go
- options.go