Commit a87305c
fix: use non-controller ownerReference for DNSRecordSets
The dns-operator's dnsrecordset-replicator controller rejects DNSRecordSets
that have controller=true on their ownerReference (unless owned by DNSZone).
This was causing the error: "Object is already owned by another Gateway
controller".
Change from SetControllerReference to SetOwnerReference so the Gateway
still owns the DNSRecordSet for garbage collection purposes, but the
dns-operator can manage (replicate) the record.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent cb046bd commit a87305c
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
250 | 253 | | |
251 | 254 | | |
252 | 255 | | |
| |||
0 commit comments