-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
skaffold.yaml
produced by skaffold init --XXenableJibInit
could be simpler
#3190
Comments
cc @saturnism |
I think @TadCordle had a reason for this (for adding the |
Yeah, this is intentional. If someone chooses to use Jib to build one of the k8s images, but the Jib config points to a different image, we need to specify the correct image using |
Shouldn't the value passed as an argument override the value in the pom.xml? |
Yes, that is what it does. E.g. if pom.xml points to |
@TadCordle related, I am confused after I realized the Skaffold-Jib builder always appends |
Ah, I see what you're saying now. I didn't realize Jib automatically appended the image flag during the build. If the same flag is used twice, it looks like gradle errors out, and maven just uses the last argument, so in that case we can probably just remove the |
When I run
skaffold init --XXenableJibInit --force
inexamples/jib
, I get thisskaffold.yaml
.I expected to get this kind of output:
any reason why we duplicate the image name?
The text was updated successfully, but these errors were encountered: