Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "ImageConfig"
)
Variables ¶
This section is empty.
Functions ¶
func GetCloudAwareRegistries ¶
func GetCloudAwareRegistries(instance *arov1alpha1.Cluster) ([]string, error)
Switch case to ensure the correct registries are added depending on the cloud environment (Gov or Public cloud)
Types ¶
type Reconciler ¶
type Reconciler struct {
base.AROController
}
func NewReconciler ¶
func NewReconciler(log *logrus.Entry, client client.Client) *Reconciler
func (*Reconciler) Reconcile ¶
watches the ARO object for changes and reconciles image.config.openshift.io/cluster object. - If blockedRegistries is not nil, makes sure required registries are not added - If AllowedRegistries is not nil, makes sure required registries are added - Fails fast if both are not nil, unsupported
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager setup the manager
Click to show internal directories.
Click to hide internal directories.