Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ControllerName is the name of this controller.
ControllerName = "shoot-secret-controller"
)
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, log logrus.FieldLogger) 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, gardenClient client.Client, seedClientSet kubernetes.Interface, log *logrus.Logger, ) ( *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.