Skip to content

Commit 71fb386

Browse files
committed
review: only one crd manifest
1 parent edfdeed commit 71fb386

File tree

2 files changed

+2
-102
lines changed

2 files changed

+2
-102
lines changed

docs/sources/crd.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ Create the objects of CRD type by filling in the fields of CRD and DNS record wo
8181

8282
### Example
8383

84-
Here is an example [CRD manifest](crd/crd-manifest.yaml) generated by kubebuilder.
84+
Here is an example [CRD manifest](https://github.com/kubernetes-sigs/external-dns/blob/HEAD/charts/external-dns/crds/dnsendpoint.yaml) generated by kubebuilder.
8585
Apply this to register the CRD
8686

8787
```sh
88-
$ kubectl apply --validate=false -f docs/sources/crd/crd-manifest.yaml
88+
$ kubectl apply --server-side=true -f "https://raw.githubusercontent.com/kubernetes-sigs/external-dns/master/charts/external-dns/crds/dnsendpoint.yaml"
8989
customresourcedefinition.apiextensions.k8s.io "dnsendpoints.externaldns.k8s.io" created
9090
```
9191

docs/sources/crd/crd-manifest.yaml

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)