Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExternalDNSPodsScheduledConditionType = "PodsScheduled" ExternalDNSDeploymentAvailableConditionType = "DeploymentAvailable" ExternalDNSDeploymentReplicasMinAvailableConditionType = "DeploymentReplicasMinAvailable" ExternalDNSDeploymentReplicasAllAvailableConditionType = "DeploymentReplicasAllAvailable" ExternalDNSCredentialsSecretExistsConditionType = "CredentialsSecretExists" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(mgr manager.Manager, cfg Config) (controller.Controller, error)
New creates the externaldns controller from mgr and cfg. The controller will be pre-configured to watch for ExternalDNS objects across all namespaces.
Types ¶
type Config ¶
type Config struct { // Namespace is the namespace that ExternalDNS should be deployed in. Namespace string // Image is the ExternalDNS image to use. Image string // OperatorNamespace is the namespace in which this operator is deployed. OperatorNamespace string // IsOpenShift is the flag which instructs the operator that it runs in OpenShift. IsOpenShift bool // PlatformStatus is the details about the underlying platform. PlatformStatus *configv1.PlatformStatus // InjectTrustedCA is the flag which instructs the operator to inject the trusted CA into ExternalDNS containers. InjectTrustedCA bool // RequeuePeriod is the period to wait after a failed reconciliation. RequeuePeriod time.Duration }
Config holds all the things necessary for the controller to run.
Click to show internal directories.
Click to hide internal directories.