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.
Click to show internal directories.
Click to hide internal directories.