Module discovery

Module discovery 

Source
Expand description

Record discovery logic for DNS zones.

This module handles discovering DNS record resources that match zone label selectors, tagging/untagging records, and checking record readiness.

Functions§

check_all_records_ready
Checks if all DNS records are ready.
discover_and_update_records
Discover and update DNSZone status with DNS records.
find_zones_selecting_record
Find all DNSZones that have selected a given record via label selectors.
reconcile_zone_records
Reconciles DNS records for a zone by discovering records that match the zone’s label selectors.
trigger_record_reconciliation
Counts DNS records matching a zone for logging purposes.