Skip to content

Commit 0f1fec6

Browse files
authored
Merge pull request #1060 from newrelic-forks/rudoi/uninstall
Add Makefile rule to uninstall CRDs
2 parents 746316d + 1a954bd commit 0f1fec6

File tree

6 files changed

+306
-8
lines changed

6 files changed

+306
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.idea/
2+
.vscode/
23

34
# don't check in the build output of the book
45
docs/book/book/

docs/book/src/quick-start.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,14 @@ privileges or be logged in as admin. See [Prerequisites for using Kubernetes RBA
196196

197197
</aside>
198198

199+
## Uninstall CRDs
200+
201+
To delete your CRDs from the cluster:
202+
203+
```bash
204+
make uninstall
205+
```
206+
199207
## Next Step
200208

201209
Now, follow up the [CronJob tutorial][cronjob-tutorial] to better understand how it works by developing a demo example project.
@@ -204,3 +212,4 @@ Now, follow up the [CronJob tutorial][cronjob-tutorial] to better understand how
204212
[cronjob-tutorial]: https://book.kubebuilder.io/cronjob-tutorial/cronjob-tutorial.html
205213
[GOPATH-golang-docs]: https://golang.org/doc/code.html#GOPATH
206214
[how-to-write-go-code-golang-docs]: https://golang.org/doc/code.html
215+

go.mod

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,13 @@ go 1.12
44

55
require (
66
github.com/gobuffalo/flect v0.1.5
7-
github.com/golang/protobuf v1.3.1 // indirect
8-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
9-
github.com/kr/pretty v0.1.0 // indirect
107
github.com/onsi/ginkgo v1.8.0
118
github.com/onsi/gomega v1.5.0
129
github.com/spf13/afero v1.2.2
13-
github.com/spf13/cobra v0.0.3
10+
github.com/spf13/cobra v0.0.5
1411
github.com/spf13/pflag v1.0.3
15-
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 // indirect
1612
golang.org/x/sys v0.0.0-20190621203818-d432491b9138 // indirect
17-
golang.org/x/text v0.3.2 // indirect
18-
golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59
19-
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
13+
golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac
2014
gopkg.in/yaml.v2 v2.2.2
15+
sigs.k8s.io/controller-tools v0.2.2 // indirect
2116
)

0 commit comments

Comments
 (0)