Skip to content

Cloudflare comment not working when using args/cmdline flag #5755

@flickers

Description

@flickers

What happened: Trying to use the new Cloudflare Comment feature (#5411) but DNS records are not being updated with a comment nor new records created don't have a comment. I'm using the cmdline flag (extraArgs: in the helm chart) as I want to set the same comment for all records in the cluster.

What you expected to happen: That comments are added to existing and new records

How to reproduce it (as minimally and precisely as possible):
I'm using the external-dns helm chart with minimal or no value changes and then passing in the extraArgs: below

  extraArgs:  # @schema type: [array, null, object]; item: string; uniqueItems: true;
    - --cloudflare-proxied  # enables Cloudflare Proxy by default
    - --cloudflare-record-comment="provisioned by external-dns company-dev-eks02-cluster" # adds a comment to the DNS records

Using Kubernetes 1.32
Using external-dns helm chart 1.18.0 (container image external-dns:v0.18.0)

Anything else we need to know?: Did a quick check on slack if someone else has encountered this https://kubernetes.slack.com/archives/C771MKDKQ/p1755169822719409

Environment:

  • External-DNS version (use external-dns --version): v0.18.0
  • DNS provider: Cloudflare
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions