Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "token"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client Config config.TokenControllerConfig FS afero.Afero // contains filtered or unexported fields }
Reconciler fetches the shoot access token for gardener-node-agent and writes it to disk.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile fetches the shoot access token for gardener-node-agent and writes it to disk.
func (*Reconciler) SecretPredicate ¶
func (r *Reconciler) SecretPredicate() predicate.Predicate
SecretPredicate returns the predicate for Secret events.
Click to show internal directories.
Click to hide internal directories.