dnsrecord

package
v0.0.0-...-b7d42a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentDNSRecord

func CurrentDNSRecord(client client.Client, name types.NamespacedName) (bool, *iov1.DNSRecord, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL