Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#1332 from ytsarev/doc-and-sample-f…
Browse files Browse the repository at this point in the history
…ixes

CRD documentation and sample fixes
  • Loading branch information
k8s-ci-robot authored Dec 28, 2019
2 parents 1055d02 + 9562443 commit eba1410
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 12 additions & 0 deletions docs/contributing/crd-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: ["*"]
```
5 changes: 0 additions & 5 deletions docs/contributing/crd-source/crd-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,3 @@ spec:
type: integer
type: object
version: v1alpha1
status:
acceptedNames:
kind: ""
plural: ""
conditions: null

0 comments on commit eba1410

Please sign in to comment.