external-dns
external-dns copied to clipboard
external-dns could not user token of CF with ending newline
trafficstars
- create the secret with cf token ending with newline.
- get
time="2025-05-14T20:06:20Z" level=fatal msg="Failed to do run once: HTTP request failed: Get \"https://api.cloudflare.com/client/v4/zones?per_page=50\": net/http: invalid header field value for \"Authorization\""
and pod in crash loop back off mode.
Possible solution: accept the CF token with trailing new-line character and strip it.