Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceAccountController ¶
type ServiceAccountController struct {
client.Client
Username string
Registry name.Registry
TokenDuration time.Duration
}
ServiceAccountController manages pull secrets for ServiceAccounts
func (*ServiceAccountController) Reconcile ¶
func (c *ServiceAccountController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile ensures that there is an image pull secret for the given service account
func (*ServiceAccountController) SetupWithManager ¶
func (c *ServiceAccountController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager adds the controller to a manager
Click to show internal directories.
Click to hide internal directories.