-
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
Add kubebuilderVersion Field in PROJECT File for Tracking Kubebuilder CLI Version #4398
Comments
We are open to better name suggestions as well !! |
can i try to solve this |
@rovertrack just comment here if you need any help, just ping here or in the PR |
/assign |
where the kubebuilderVersion has to be in the projectfile |
currently, a sample PROJECT file looks like this # Code generated by tool. DO NOT EDIT.
# This file is used to track the info used to scaffold your project
# and allow the plugins properly work.
# More info: https://book.kubebuilder.io/reference/project-config.html
domain: openshift.io
layout:
- go.kubebuilder.io/v4
projectName: oadp-nac
repo: github.com/migtools/oadp-non-admin
resources:
- api:
crdVersion: v1
namespaced: true
controller: true
domain: openshift.io
group: oadp
kind: NonAdminBackup
path: github.com/migtools/oadp-non-admin/api/v1alpha1
version: v1alpha1
version: "3" I think it makes sense to be a high level information, like It would look like this then # Code generated by tool. DO NOT EDIT.
# This file is used to track the info used to scaffold your project
# and allow the plugins properly work.
# More info: https://book.kubebuilder.io/reference/project-config.html
domain: openshift.io
layout:
- go.kubebuilder.io/v4
projectName: oadp-nac
repo: github.com/migtools/oadp-non-admin
resources:
- api:
crdVersion: v1
namespaced: true
controller: true
domain: openshift.io
group: oadp
kind: NonAdminBackup
path: github.com/migtools/oadp-non-admin/api/v1alpha1
version: v1alpha1
version: "3"
kubebuilderVersion: "3.14.2" |
👍 |
What do you want to happen?
Description:
To enhance project traceability and facilitate future upgrades, it's proposed that Kubebuilder's
PROJECT
file includes a new field,kubebuilderVersion
, to record the specific CLI version used during project scaffolding. This addition will:Tasks:
PROJECT
file:kubebuilderVersion
.kubebuilderVersion
field.Reference Files:
PROJECT
file: PROJECT FileThis change aims to improve traceability and simplify workflows for users and maintainers.
Extra Labels
No response
The text was updated successfully, but these errors were encountered: