controller

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvexInstanceReconciler

type ConvexInstanceReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

ConvexInstanceReconciler reconciles a ConvexInstance object

func (*ConvexInstanceReconciler) Reconcile

Reconcile moves the cluster state toward the desired ConvexInstance state.

The flow is: 1. Resolve the ConvexInstance and handle finalizers. 2. Observe current backend/dashboard state (images, versions). 3. Determine the upgrade plan (in-place vs export-import) based on spec changes and current job status. 4. Validate external references (DB/S3 secrets) to fail fast if missing. 5. Reconcile core resources (ConfigMap, Secrets, PVC, Services, Dashboard, StatefulSet, Gateway/Route). 6. Execute the upgrade plan (rolling update or export/import orchestration). 7. Update status conditions and phase.

func (*ConvexInstanceReconciler) SetupWithManager

func (r *ConvexInstanceReconciler) 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