Giter Club home page Giter Club logo

aws-eks-cluster's People

Contributors

chrisghill avatar coryodaniel avatar eibay avatar jaketf avatar mclacore avatar willbeebe avatar xpositivityx avatar

Watchers

 avatar  avatar  avatar

aws-eks-cluster's Issues

No way to specify a value for `external-dns` `--txt-prefix`or `--txt-suffix`

The external-dns service is configured to use TXT DNS records to keep track of the A and CNAME records it has created in the hosted zone. The default name of the TXT record is the same as the name of the A/CNAME record.

This causes problems in scenarios where TXT records already exist, because external-dns generates an error in that case (see sample below). One reason that a TXT record might already exist is to comply with DNS validation checks for 3rd party services, such as Google Workspace or GMail.

To assist with this problem, external-dns supports a txt-prefix and txt-suffix parameter.

I propose that these values become available in the Massdriver configure UI when managing a bundle. It probably makes sense to place them behind an "advanced" configuration setting. I further propose that a prefix of edns. becomes the default. This would avoid the surprise that I ran into this week for newcomers, while also allowing folks the option of reverting to the previous behavior. It's worth noting that the external-dns docs discourage changing the txt-prefix or txt-suffix values after external-dns is installed in a cluster, because it may affect its ability to make DNS changes. For that reason, it might make sense to make these values read only after the bundle has been deployed.

(Note: The actual domain and hostedzone id have been redacted.)

│ time="2023-10-28T06:51:11Z" level=info msg="Applying provider record filter for domains: [example.io. .example.io.]"                                         │
│ time="2023-10-28T06:51:11Z" level=info msg="Desired change: DELETE www.example.io A [Id: /hostedzone/Z9999999999999]"                                 │
│ time="2023-10-28T06:51:11Z" level=info msg="Desired change: DELETE www.example.io TXT [Id: /hostedzone/Z9999999999999]"                               │
│ time="2023-10-28T06:51:11Z" level=info msg="Desired change: CREATE example.io A [Id: /hostedzone/Z9999999999999]"                                     │
│ time="2023-10-28T06:51:11Z" level=info msg="Desired change: CREATE example.io TXT [Id: /hostedzone/Z9999999999999]"                                   │
│ time="2023-10-28T06:51:11Z" level=error msg="Failure in zone example.io. [Id: /hostedzone/Z9999999999999]"                                            │
│ time="2023-10-28T06:51:11Z" level=error msg="InvalidChangeBatch: [Tried to create resource record set [name='example.io.', type='TXT'] but it already exists │
│ time="2023-10-28T06:51:11Z" level=error msg="failed to submit all changes for the following zones: [/hostedzone/Z9999999999999]"                      │
│

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.