Documentation ¶
Index ¶
- func CurrentDNSRecord(client client.Client, name types.NamespacedName) (bool, *iov1.DNSRecord, error)
- func DeleteDNSRecord(client client.Client, name types.NamespacedName) error
- func EnsureDNSRecord(client client.Client, name types.NamespacedName, ...) (bool, *iov1.DNSRecord, error)
- func EnsureWildcardDNSRecord(client client.Client, name types.NamespacedName, ...) (bool, *iov1.DNSRecord, error)
- func ManageDNSForDomain(domain string, status *configv1.PlatformStatus, dnsConfig *configv1.DNS) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentDNSRecord ¶
func DeleteDNSRecord ¶
func DeleteDNSRecord(client client.Client, name types.NamespacedName) error
func EnsureDNSRecord ¶
func EnsureDNSRecord(client client.Client, name types.NamespacedName, dnsRecordLabels map[string]string, ownerRef metav1.OwnerReference, domain string, dnsPolicy iov1.DNSManagementPolicy, service *corev1.Service) (bool, *iov1.DNSRecord, error)
EnsureDNSRecord will create DNS records for the given LB service. If service is nil (haveLBS is false), nothing is done.
func EnsureWildcardDNSRecord ¶
func EnsureWildcardDNSRecord(client client.Client, name types.NamespacedName, dnsRecordLabels map[string]string, ownerRef metav1.OwnerReference, domain string, endpointPublishingStrategy *operatorv1.EndpointPublishingStrategy, service *corev1.Service, haveLBS bool) (bool, *iov1.DNSRecord, error)
EnsureWildcardDNSRecord will create wildcard DNS records for the given LB service. If service is nil (haveLBS is false), nothing is done.
func ManageDNSForDomain ¶
func ManageDNSForDomain(domain string, status *configv1.PlatformStatus, dnsConfig *configv1.DNS) bool
ManageDNSForDomain returns true if the given domain contains the baseDomain of the cluster DNS config. It is only used for AWS and GCP in the beginning, and will be expanded to other clouds once we know there are no users depending on this. See https://bugzilla.redhat.com/show_bug.cgi?id=2041616
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.