status

package
v0.0.0-...-5bfbb60 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperatorVersionName          = "operator"
	IngressControllerVersionName = "ingress-controller"
	CanaryImageVersionName       = "canary-server"
	UnknownVersionValue          = "unknown"
)

Variables

This section is empty.

Functions

func New

func New(mgr manager.Manager, config Config) (controller.Controller, error)

New creates the status controller. This is the controller that handles all the logic for creating the ClusterOperator operator and updating its status.

The controller watches IngressController resources in the manager namespace and uses them to compute the operator status. It also watches the clusteroperators resource so that it reconciles the ingress clusteroperator in case something else updates or deletes it.

Types

type Config

type Config struct {
	// GatewayAPIEnabled indicates that the "GatewayAPI" featuregate is enabled.
	GatewayAPIEnabled bool
	// GatewayAPIControllerEnabled indicates that the "GatewayAPIController"
	// featuregate is enabled.
	GatewayAPIControllerEnabled bool
	// MarketplaceEnabled indicates whether the "marketplace" capability is
	// enabled.
	MarketplaceEnabled bool
	// OperatorLifecycleManagerEnabled indicates whether the
	// "OperatorLifecycleManager" capability is enabled.
	OperatorLifecycleManagerEnabled bool
	IngressControllerImage          string
	CanaryImage                     string
	OperatorReleaseVersion          string
	Namespace                       string
}

Config holds all the things necessary for the controller to run.

type IngressOperatorStatusExtension

type IngressOperatorStatusExtension struct {
	// UnmanagedGatewayAPICRDNames contains a comma separated list of unmanaged GatewayAPI CRDs
	// which are present on the cluster.
	UnmanagedGatewayAPICRDNames string `json:"unmanagedGatewayAPICRDNames,omitempty"`
}

IngressOperatorStatusExtension holds status extensions of the ingress cluster operator.

Jump to

Keyboard shortcuts

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