-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📖 update with latest changes and fix the samples project used in the docs #1850
📖 update with latest changes and fix the samples project used in the docs #1850
Conversation
/test pull-kubebuilder-e2e-k8s-1-18-0 |
b12e697
to
8bd0cbf
Compare
/test pull-kubebuilder-e2e-k8s-1-18-0 |
@@ -46,7 +46,7 @@ project: | |||
```bash | |||
# we'll use a domain of tutorial.kubebuilder.io, | |||
# so all API groups will be <group>.tutorial.kubebuilder.io. | |||
kubebuilder init --domain tutorial.kubebuilder.io | |||
kubebuilder init --plugins=go/v3-alpha --domain tutorial.kubebuilder.io |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming we'll update this post stability
time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. My idea is to update that for go/v3 when its stable version will be released.
description: One and only one of the following | ||
should be specified. Exec specifies the | ||
action to take. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just have to confirm, this is meant to be over 7k lines for this CRD?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the diff is so big it's hard to load in PR reviewing - https://github.com/kubernetes-sigs/kubebuilder/blob/8bd0cbfd38d7027b1bf60d3f156f0d4f00f654db/docs/book/src/cronjob-tutorial/testdata/project/config/crd/bases/batch.tutorial.kubebuilder.io_cronjobs.yaml for clarity since this comment shows that it's on line 1923.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CRD are generated via make manifests so it shows fine.
To ensure that I re-generated the project locally with the helpers (generate_multiversion.sh and generate_cronjob.sh) scripts and executed make manifests before add the docs comments.
docs/book/src/multiversion-tutorial/testdata/project/controllers/cronjob_controller.go
Outdated
Show resolved
Hide resolved
8bd0cbf
to
bf579b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Nice work @camilamacedo86 !
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, christopherhein The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
Update and fix the samples used in the docs by:
Motivation