Documentation
¶
Overview ¶
Package stewardstatus provides a controller that synchronizes Steward TenantControlPlane status to StewardControlPlane for CAPI compatibility.
Problem: The capi-steward provider sometimes fails to properly synchronize status from the Steward TenantControlPlane to the StewardControlPlane resource, causing CAPI to not recognize the control plane as ready.
Solution: Watch TenantControlPlane resources and patch the corresponding StewardControlPlane status when the TCP is ready.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TenantControlPlaneGVK = schema.GroupVersionKind{ Group: "steward.butlerlabs.dev", Version: "v1alpha1", Kind: "TenantControlPlane", } StewardControlPlaneGVK = schema.GroupVersionKind{ Group: "controlplane.cluster.x-k8s.io", Version: "v1alpha1", Kind: "StewardControlPlane", } )
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
Reconciler watches Steward TenantControlPlane resources and syncs status to StewardControlPlane.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.