-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
doc: update testadata projects used in the tutorial #1632
doc: update testadata projects used in the tutorial #1632
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86 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 |
/test pull-kubebuilder-e2e-k8s-1-17-0 |
6c83de3
to
af5d380
Compare
/test pull-kubebuilder-e2e-k8s-1-16-2 |
/test pull-kubebuilder-e2e-k8s-1-16-2 |
Hi @camilamacedo86 , Have tried example test and seems that it fails with |
Hi @fbalicchia, The tutorials here are updated with the latest version on master for the docs be updated for the next release and NOT with Regards However, these projects still with issues and we have many issues tracked over that. But the first step is to keep them updated with the master for them we are able to check each issue and scenario. |
@@ -9,7 +9,7 @@ spec: | |||
containers: | |||
- name: manager | |||
ports: | |||
- containerPort: 443 | |||
- containerPort: 9443 | |||
name: webhook-server | |||
protocol: TCP | |||
volumeMounts: |
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.
@@ -20,8 +21,8 @@ import ( | |||
"flag" | |||
"os" | |||
|
|||
kbatchv1 "k8s.io/api/batch/v1" |
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.
Why is kbatch1 removed here?
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.
should not good catcher
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.
I'm trying to run ./generate_cronjob.sh
so I can confirm it works as expected, but it looks like the --plugins
flag for kubebuilder init
still isn't implemented yet (I set KUBEBUILDER_ENABLE_PLUGINS=1
, too!).
I'm using kubebuilder
built from top of the master branch so I'm surprised I'm not finding this --plugins
flag; maybe there's more I need to configure so I can use this flag and run the testdata generation script?
mkdir project | ||
cd project | ||
header_text "creating tutorial.kubebuilder.io base ..." | ||
kubebuilder init --plugins=go/v3-alpha --domain=tutorial.kubebuilder.io --project-version=3-alpha --repo=tutorial.kubebuilder.io/project --license apache2 --owner "The Kubernetes authors" |
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.
I'm using the latest version of kubebuilder (top of master) and it looks like the --plugins
flag still doesn't exist here--is that expected / will this come later?
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.
Hi @gabbifish,
These scripts are just to allow us re-gen the project inside off this dir and diff with the master to know what requires updates. The plugins only exist on the master branch and by merging this PR we are updating the tutorial with the latest version available which is v3-alpha plugin on the master. It will just be available to production after the next release. We need run make install before to run them.
af5d380
to
3244d83
Compare
257466e
to
ac3e454
Compare
Hi @gabbifish, Really thank you for your help here. I re-duo everything and re-check this one shows that all is ok. I think we will sting having issues to address after this update. However, IMO we need first update the examples since they are very outdated for them be able to try to fix them. What IMO we need to ensure here in this PR? That the examples used in the tutorial were not changed at all and that we are not losing any text/explanation. |
ac3e454
to
41481a2
Compare
/test pull-kubebuilder-e2e-k8s-1-15-3 |
/test pull-kubebuilder-e2e-k8s-1-15-3 /test pull-kubebuilder-e2e-k8s-1-17-0 |
/test pull-kubebuilder-e2e-k8s-1-15-3 |
@camilamacedo86 I reviewed the rest of the PR (except for testing out the |
/lgtm |
/test pull-kubebuilder-e2e-k8s-1-15-3 |
/hold |
41481a2
to
5ba42a8
Compare
/hold cancel |
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
I still cannot test the generate_multiversion scripts given the lack of support for the --plugin
flag but it sounds like that is coming shortly? I couldn't use --plugin
even when I was using the tip of the master branch. I would love to get a chance to test this feature later, but as you mentioned above, this feature is still coming!
NOO I just found a tiny nit--note the file |
hi @gabbifish. really tks for your help with. done: #1683 |
Description
Motivation
E.g - #1251 #1544