Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "infrastructureconfig"
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(mgr manager.Manager, status *statusmanager.StatusManager, c cnoclient.Client) error
Add attaches our control loop to the manager and watches for infrastructure objects
Types ¶
type ReconcileInfrastructureConfig ¶
type ReconcileInfrastructureConfig struct {
// contains filtered or unexported fields
}
ReconcileInfrastructureConfig reconciles a cluster Infrastructure object
func (*ReconcileInfrastructureConfig) Reconcile ¶
func (r *ReconcileInfrastructureConfig) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile handles Infrastructure.config.openshift.io/cluster. It is responsible for allowing modifications to the PlatformSpec that stores on-prem network configuration (e.g. VIPs). It also syncs the new and deprecated API & Ingress VIP fields to have consistent APIs between versions, something that has been introduced when dual-stack VIPs were implemented in the first place.
Click to show internal directories.
Click to hide internal directories.