Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "PullSecret"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
base.AROController
}
Reconciler reconciles a Cluster object
func NewReconciler ¶
func NewReconciler(log *logrus.Entry, client client.Client) *Reconciler
func (*Reconciler) Reconcile ¶
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
Click to show internal directories.
Click to hide internal directories.