pullsecret

package
v0.0.0-...-fde486f Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ControllerName = "PullSecret"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler reconciles a Cluster object

func NewReconciler

func NewReconciler(log *logrus.Entry, client client.Client) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile will make sure that the ACR part of the pull secret is correct. The conditions under which Reconcile is called are slightly unusual and are as follows:

  • If the Cluster object changes, we'll see the *Cluster* object requested.
  • If a Secret object owned by the Cluster object changes (e.g., but not limited to, the configuration Secret, we'll see the *Cluster* object requested).
  • If the pull Secret object (which is not owned by the Cluster object) changes, we'll see the pull Secret object requested.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager setup our manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL