mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
Update CRD source doc with RBAC, fix CRD manifest
* Add RBAC piece of documentation * Remove `status:` to avoid validation failure Otherwise it fails with ``` $ kubectl apply -f crd-manifest.yaml error: error validating "crd-manifest.yaml": error validating data: ValidationError(CustomResourceDefinition.status): missing required field "storedVersions" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus; ```
This commit is contained in:
parent
e68ea6050b
commit
95624432b7
@ -106,3 +106,15 @@ INFO[0000] Connected to cluster at https://192.168.99.100:8443
|
||||
INFO[0000] CREATE: foo.bar.com 180 IN A 192.168.99.216
|
||||
INFO[0000] CREATE: foo.bar.com 0 IN TXT "heritage=external-dns,external-dns/owner=default"
|
||||
```
|
||||
|
||||
### RBAC configuration
|
||||
|
||||
If you use RBAC, extend the `external-dns` ClusterRole with:
|
||||
```
|
||||
- apiGroups: ["externaldns.k8s.io"]
|
||||
resources: ["dnsendpoints"]
|
||||
verbs: ["get","watch","list"]
|
||||
- apiGroups: ["externaldns.k8s.io"]
|
||||
resources: ["dnsendpoints/status"]
|
||||
verbs: ["*"]
|
||||
```
|
||||
|
@ -60,8 +60,3 @@ spec:
|
||||
type: integer
|
||||
type: object
|
||||
version: v1alpha1
|
||||
status:
|
||||
acceptedNames:
|
||||
kind: ""
|
||||
plural: ""
|
||||
conditions: null
|
||||
|
Loading…
Reference in New Issue
Block a user