Make external-dns tier authoritative (drop dynamic mode)
The dynamic cluster mode was removed from the operator; RFC2136 update capability is a per-zone property, not a cluster role. The external-dns tier is an authoritative cluster whose zones set dynamicUpdate. - switch binddns-externaldns BindCluster to mode authoritative - regenerate bindcluster schema (enum: authoritative, resolver)
This commit is contained in:
@@ -1,13 +1,14 @@
|
|||||||
---
|
---
|
||||||
# external-dns tier (replaces the 3x Puppet external-dns servers). The primary
|
# external-dns tier (replaces the 3x Puppet external-dns servers). An ordinary
|
||||||
# accepts RFC2136 TSIG updates from external-dns; secondaries replicate.
|
# authoritative cluster; external-dns writes to its zones via RFC2136 because
|
||||||
|
# those BindZones set dynamicUpdate (allow-update { key externaldns-key; }).
|
||||||
apiVersion: bind.unkin.net/v1alpha1
|
apiVersion: bind.unkin.net/v1alpha1
|
||||||
kind: BindCluster
|
kind: BindCluster
|
||||||
metadata:
|
metadata:
|
||||||
name: externaldns
|
name: externaldns
|
||||||
namespace: binddns-externaldns
|
namespace: binddns-externaldns
|
||||||
spec:
|
spec:
|
||||||
mode: dynamic
|
mode: authoritative
|
||||||
replicas: 3
|
replicas: 3
|
||||||
storageClassName: cephrbd-fast-delete
|
storageClassName: cephrbd-fast-delete
|
||||||
storageSize: 1Gi
|
storageSize: 1Gi
|
||||||
|
|||||||
@@ -682,8 +682,7 @@
|
|||||||
"default": "authoritative",
|
"default": "authoritative",
|
||||||
"enum": [
|
"enum": [
|
||||||
"authoritative",
|
"authoritative",
|
||||||
"resolver",
|
"resolver"
|
||||||
"dynamic"
|
|
||||||
],
|
],
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user