Skip to content
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

Artefacts are not updated with the new version gen #1197

Closed
camilamacedo86 opened this issue Nov 14, 2019 · 1 comment
Closed

Artefacts are not updated with the new version gen #1197

camilamacedo86 opened this issue Nov 14, 2019 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@camilamacedo86
Copy link
Member

Feature Request

Is your feature request related to a problem? Please describe.

Artefacts are not updated with the new version gen. Following the steps to reproduce the scenario

$ mkdir $GOPATH/src/example
$ cd $GOPATH/src/example
$ kubebuilder init --domain my.domain
$ kubebuilder create api --group webapp --version v1 --kind Guestbook
$ kubebuilder create api --group webapp --version v2 --kind Guestbook

Screenshot 2019-11-14 at 11 03 58

Describe the solution you'd like
I'd like to see the Artefacts updated to use the v2 when we press y to create Controller [y/n]

/kind feature

@camilamacedo86 camilamacedo86 added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 14, 2019
@camilamacedo86 camilamacedo86 changed the title Upgrade versions references when a new version is added in the project Artefacts are not updated with the new version gen Nov 14, 2019
@DirectXMan12
Copy link
Contributor

We generally don't update scaffolded files because we have no way to know if the user has significantly changed them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants