-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from pwittrock/docs-gen
Upgrading Kubebuilder and Core Only Controller docs
- Loading branch information
Showing
8 changed files
with
72 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
To push the docs run: | ||
|
||
- gitbook build | ||
- docker build . -t gcr.io/kubebuilder/book | ||
- docker push gcr.io/kubebuilder/book | ||
- kubectl delete pods -l run=gitbook-prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% panel style="info", title="Under Development" %} | ||
This book is being actively developed. | ||
{% endpanel %} | ||
|
||
## Controllers for Core Resources | ||
|
||
{% method %} | ||
|
||
It it possible to create Controllers for Core resources, or for resources defined outside your project. | ||
|
||
{% sample lang="bash" %} | ||
```bash | ||
kubebuilder create controller --group apps --version v1beta2 --kind Deployment --core-type | ||
``` | ||
{% endmethod %} | ||
|
||
{% panel style="warning", title="Core Only Projects" %} | ||
If your project will *only* contain controllers for types defined outside your project, | ||
you must create the project with the `--controller-only` flag. | ||
{% endpanel %} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% panel style="info", title="Under Development" %} | ||
This book is being actively developed. | ||
{% endpanel %} | ||
|
||
# Update Kubebuilder | ||
|
||
## Update the Kubebuilder install | ||
|
||
Download the latest version of kubebuilder from [releases page](https://github.com/kubernetes-sigs/kubebuilder/releases) | ||
and install it. | ||
|
||
## Update Existing Project's Dependencies | ||
|
||
{% method %} | ||
|
||
Update your project's dependencies to the latest version of the libraries used by kubebuilder. This | ||
will modify *Gopkg.toml* by rewriting the `[[override]]` elements beneath the | ||
`# DO NOT MODIFY BELOW THIS LINE.` line. Rules added by the user above this line will be retained. | ||
|
||
{% sample lang="bash" %} | ||
```bash | ||
kubebuilder update vendor | ||
``` | ||
{% endmethod %} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters