Commit 4f60a12
fix(ci): use zone name instead of FQDN for external-dns domain filter
external-dns rejects zones that don't match its domainFilter. When the
filter was set to the full FQDN (e.g. pr-614-demo.api-platform.com),
external-dns found the Cloudflare zone "api-platform.com" but rejected
it with "zone not in domain filter", preventing DNS record creation.
Extract the zone (last two domain segments) from the URL so external-dns
can match the Cloudflare zone correctly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 379e1ea commit 4f60a12
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
130 | | - | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
0 commit comments