pub async fn update_record_reconciled_timestamp(
client: &Client,
zone_namespace: &str,
zone_name: &str,
record_kind: &str,
record_name: &str,
record_namespace: &str,
) -> Result<()>Expand description
Update lastReconciledAt timestamp for a record in DNSZone.status.selectedRecords[].
This signals that the record has been successfully configured in BIND9. Future reconciliations will skip this record until the timestamp is reset.
§Arguments
client- Kubernetes API clientzone_namespace- Namespace of theDNSZonezone_name- Name of theDNSZonerecord_kind- Kind of the record (e.g., “ARecord”, “CNAMERecord”)record_name- Name of the record resourcerecord_namespace- Namespace of the record resource
§Errors
Returns an error if:
DNSZonecannot be fetched from Kubernetes API- Record is not found in zone’s
selectedRecords[]array - Status patch operation fails