external-dns: OCI provider: failed to add record for private zone in oracle cloud

What happened: When trying to add records in private zone in compartment, externaldns for oci fails to add record and gives warnings

time="" level=warning msg="No zones in compartment \"ocid1.compartment.oc1..\" match domain filters [xyz.com]"
time="" level=warning msg="No zones in compartment \"ocid1.compartment.oc1..\" match domain filters [xyz.com]"
time="" level=warning msg="No matching zone for record operation { Domain=abc.xyz.com RecordHash=<nil> IsProtected=<nil> Rdata=1.2.3.4 RrsetVersion=<nil> Rtype=A Ttl=300 Operation=ADD }"

What you expected to happen: Add A record in private zone as provided by domain filter

How to reproduce it (as minimally and precisely as possible): setup latest external-dns for OCI provider and specify compartment id where private zone xyz.com is created create ingress/service with annotation of external dns matching domain filter(xyz.com).

for eg. Annotations: external-dns.alpha.kubernetes.io/hostname: abc.xyz.com

Environment:

  • External-DNS version (use external-dns --version): 0.10.2
  • DNS provider: OCI

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

Hi, any news about this “crutial” feature to my OCI Cloud K8S Infrastructure … Sorry to insist