Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ControllerName is the name of this controller.
ControllerName = "shootsecret"
)
Variables ¶
This section is empty.
Functions ¶
func LabelsPredicate ¶
LabelsPredicate is a function which returns true when the provided labels map suggests that the object is managed by the secrets manager and should be persisted.
func NewReconciler ¶
func NewReconciler(gardenClient, seedClient client.Client) reconcile.Reconciler
NewReconciler returns a new reconciler for secrets related to shoots.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller controls Secret in the seed cluster and persists them in the ShootState resource.
func NewController ¶
func NewController( ctx context.Context, log logr.Logger, gardenClient client.Client, seedClientSet kubernetes.Interface, ) ( *Controller, error, )
NewController creates a new controller for secrets in the seed cluster which must be persisted to the ShootState in the garden cluster.
Click to show internal directories.
Click to hide internal directories.