Documentation
¶
Index ¶
- Variables
- func CleanDefaultDomainDNS(ctx context.Context, c client.Client, conf *config.Config, lgr logr.Logger) error
- func NewDefaultDomainDNSReconciler(manager ctrl.Manager, conf *config.Config) error
- func NewExternalDns(manager ctrl.Manager, conf *config.Config) error
- type ClusterExternalDNSController
- type ExternalDNSCRDConfiguration
- type ExternalDNSCRDController
Constants ¶
This section is empty.
Variables ¶
View Source
var ClusterExternalDNSControllerName = controllername.New("cluster", "externaldns", "crd")
View Source
var ExternalDNSCRDControllerName = controllername.New("externaldns", "crd")
Functions ¶
func CleanDefaultDomainDNS ¶ added in v0.2.25
func CleanDefaultDomainDNS(ctx context.Context, c client.Client, conf *config.Config, lgr logr.Logger) error
CleanDefaultDomainDNS removes the resources created by the default domain DNS reconciler. It's used to tear down the default-domain-dns-external-dns Deployment (and its other resources) when the default domain feature is disabled. Deleting the default-domain-dns ClusterExternalDNS cascades to its owned Deployment via owner references, so without this cleanup the Deployment is orphaned and crash-loops once its DNS zone and identity RBAC are gone.
func NewDefaultDomainDNSReconciler ¶ added in v0.2.13
NewDefaultDomainDNSReconciler creates a new reconciler for managing external DNS records for the default domain in the cluster.
Types ¶
type ClusterExternalDNSController ¶ added in v0.2.5
type ClusterExternalDNSController struct {
// contains filtered or unexported fields
}
type ExternalDNSCRDConfiguration ¶ added in v0.2.5
type ExternalDNSCRDConfiguration interface {
GetTenantId() *string
GetInputServiceAccount() string
GetResourceNamespace() string
GetInputResourceName() string
GetResourceTypes() []string
GetDnsZoneresourceIDs() []string
GetFilters() *v1alpha1.ExternalDNSFilters
GetNamespaced() bool
GetIdentity() v1alpha1.ExternalDNSIdentity
client.Object
}
type ExternalDNSCRDController ¶ added in v0.2.5
type ExternalDNSCRDController struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.