Skip to content

Is it possible to use Kubebuilder with custom Dockerfile in root directory? #2703

Closed Answered by camilamacedo86
nyrareddy asked this question in Support
Discussion options

You must be logged in to vote

@nyrareddy,

Multi-group is supported by go/v2. The problem here is that you update the Dockerfile and when we are trying to do the changes on the scaffolds we will look for "COPY api/ api/" and it is not found.

Therefore, yes you can change the scaffold as please you. I'd not recommend you to do it unless you need it and you know what you are doing because if you deviate too much from the scaffold proposed then some actions can no longer work and you will make the process to upgrade your project very complex. Therefore, you might be impacted and you will no longer be able to take advantage of helpers/plugins and etc that can be provided.

See:

From: https://book.kubebuilder.io/migration/v…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@camilamacedo86
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by camilamacedo86
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
3 participants