controllers

package
v0.0.0-...-4b35d5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳