stewardstatus

package
v0.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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

type Reconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

Reconciler watches Steward TenantControlPlane resources and syncs status to StewardControlPlane.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile handles TenantControlPlane status synchronization.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL