Expand description
Helper functions for DNS zone reconciliation.
This module contains the validation and change detection helper functions extracted from the main reconcile_dnszone() function to improve maintainability.
Functions§
- detect_
instance_ changes - Detect if the instance list changed between watch event and re-fetch.
- detect_
spec_ changes - Detect if the zone spec has changed since last reconciliation.
- for_
each_ instance_ endpoint - Execute an operation on all endpoints for a list of instance references.
- get_
endpoint - Get all ready endpoints for a service.
- handle_
duplicate_ zone - Handle duplicate zone conflicts by setting Ready=False and stopping reconciliation.
- load_
rndc_ key - Load RNDC key from the instance’s secret.
- refetch_
zone - Re-fetch a DNSZone to get the latest status.