Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OpenShiftGatewayClassControllerName is the string by which a // gatewayclass identifies itself as belonging to OpenShift Istio. If a // gatewayclass's spec.controllerName field is set to this value, then // the gatewayclass is ours. OpenShiftGatewayClassControllerName = "openshift.io/gateway-controller" // OpenShiftDefaultGatewayClassName is the name of the default // gatewayclass that Istio creates when it is installed. OpenShiftDefaultGatewayClassName = "openshift-default" )
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 ServiceMeshControlPlane CR. OperatorNamespace string // OperandNamespace is the namespace in which Istio should be deployed. OperandNamespace string }
Config holds all the configuration that must be provided when creating the controller.
Click to show internal directories.
Click to hide internal directories.