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.Interface) *PullSecretReconciler
func (*PullSecretReconciler) Reconcile ¶
func (r *PullSecretReconciler) 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 (*PullSecretReconciler) SetupWithManager ¶
func (r *PullSecretReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager setup our manager
Click to show internal directories.
Click to hide internal directories.