pullsecret

package
v0.0.0-...-a580c8e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PullSecretReconciler

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

PullSecretReconciler reconciles a Cluster object

func NewReconciler

func NewReconciler(log *logrus.Entry, kubernetescli kubernetes.Interface, arocli aroclient.AroV1alpha1Interface) *PullSecretReconciler

func (*PullSecretReconciler) Reconcile

func (r *PullSecretReconciler) Reconcile(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 (*PullSecretReconciler) SetupWithManager

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

SetupWithManager setup our mananger

Jump to

Keyboard shortcuts

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