Giter Club home page Giter Club logo

Comments (5)

FlorianHoehner avatar FlorianHoehner commented on September 23, 2024 1

Hello @alebedev87,

we have different OpenShift Clusters running and want to use the External DNS Operator on all of them using the same Hosted Zone in AWS. The problem we're facing is, that the operator from the frist cluster is deleting the records created by the second operator because we can't customize the defaultTXTRecordPrefix` = "external-dns-" configuration.

from external-dns-operator.

alebedev87 avatar alebedev87 commented on September 23, 2024

Hello @Aldjinn,

No, it's not possible to provide TXT prefix via the API. The prefix is added to avoid the conflict of TXT and CNAME records. The whole existence of the TXT records and their prefix is more of a technical detail for how to find out which records belong to this instance of ExtDNS.

Any concrete use case why you would like the prefix to be different?

from external-dns-operator.

alebedev87 avatar alebedev87 commented on September 23, 2024

@FlorianHoehner: Indeed, there can be the ownership conflict if there are 2 external-dns managed by this operator which use the same hosted zone. But only in case these 2 ExternalDNS CRs (no matter the cluster) have the same name. The name of the CR is used as the owner ID for the TXT records.
So, if I understand the problem correctly, it would be enough to just prefix/suffix the CR names with the corresponding cluster IDs. This will result in TXT records with different owner IDs and the external-dns instance won't be touching the other cluster's TXT records anymore.

from external-dns-operator.

Aldjinn avatar Aldjinn commented on September 23, 2024

We will give it a try. Thx. 👍🏻

from external-dns-operator.

Aldjinn avatar Aldjinn commented on September 23, 2024

Using different names for ExternalDNS on all clusters works great.
Thx @alebedev87 for the quick help.

🐱‍👓

from external-dns-operator.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.