Skip to content

DNS record comment exceeds max length error #168

@jwojnarowicz

Description

@jwojnarowicz

Hi,
I have installed the controller using helm-chart.
Version: 0.0.16
OS: Ubuntu 22.04 on Oracle ARM / k3s

Seems like the comment is too long for Cloudflare API and results in an error and CNAME is not added, I have added it manually through Dashboard and everything works fine except automated CNAME creation.

Mentioned log line from cloudflare-tunnel-ingress-controller pod:

2025/01/19 20:27:32 controller-runtime: "caller"={"file"="controller.go" "line"=316} "msg"="Reconciler error" "error"="put exposures: update DNS CNAME record: update DNS CNAME record for zone [REDACTED]: create DNS record for zone REDACTED.com, hostname REDACTED.com: DNS record comment exceeds the maximum length of 100 characters. (9313)" "controller"="ingress" "controllerGroup"="networking.k8s.io" "controllerKind"="Ingress" "Ingress"={"name"="nginx-via-cf-tunnel" "namespace"="default"} "namespace"="default" "name"="nginx-via-cf-tunnel" "reconcileID"="2f85a5f1-93a2-4052-94e2-9f1ef481b8b5"

Anyways shoutout for the good work,
I have just realised that I remember your name from Chaos Mesh repo! 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions