Documentation
¶
Index ¶
Constants ¶
View Source
const ( // RequiredSCCRestrictedV2 is name of the "restricted-v2" SCC. RequiredSCCRestrictedV2 = "restricted-v2" // WorkloadPartitioningManagementAnnotationKey is the annotation key for // workload partitioning. WorkloadPartitioningManagementAnnotationKey = "target.workload.openshift.io/management" // WorkloadPartitioningManagementPreferredScheduling is the annotation // value for preferred scheduling of workload. WorkloadPartitioningManagementPreferredScheduling = `{"effect": "PreferredDuringScheduling"}` )
Variables ¶
This section is empty.
Functions ¶
func NewUnmanaged ¶
func NewUnmanaged(mgr manager.Manager, config Config) (controller.Controller, error)
NewUnmanaged creates and returns a controller that watches gatewayclasses and installs and configures Istio. This is an unmanaged controller, which means that the manager does not start it.
Types ¶
type Config ¶
type Config struct {
// OperatorNamespace is the namespace in which the operator should
// create the Istio CR.
OperatorNamespace string
// OperandNamespace is the namespace in which Istio should be deployed.
OperandNamespace string
// GatewayAPIOperatorCatalog is the catalog source to use to install the Gateway API implementation.
GatewayAPIOperatorCatalog string
// GatewayAPIOperatorChannel is the release channel of the Gateway API implementation to install.
GatewayAPIOperatorChannel string
// GatewayAPIOperatorVersion is the name and release of the Gateway API implementation to install.
GatewayAPIOperatorVersion string
// IstioVersion is the version of Istio to configure on the Istio CR.
IstioVersion string
}
Config holds all the configuration that must be provided when creating the controller.
Click to show internal directories.
Click to hide internal directories.