You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run skaffold init --XXenableJibInit, the prompt is skipped because there's only one image and one builder. However, the output has Jib building to its own target image, instead of what's defined in the k8s manifest.
The expected behavior is that the jibMaven block will contain an arg (-Dimage=gcr.io/k8s-skaffold/project1) that will make sure it tags the image correctly.
The text was updated successfully, but these errors were encountered:
It might make sense for skaffold init to just always add the -Dimage= arg, even if the target image is already configured by Jib, so skaffold keeps working even if the user changes their Jib configs without changing the k8s yamls.
I have a single-module maven project setup with a k8s yaml that points to
gcr.io/k8s-skaffold/project1
:I have Jib setup to point to a different image,
gcr.io/tcordle-test/abc
:When I run
skaffold init --XXenableJibInit
, the prompt is skipped because there's only one image and one builder. However, the output has Jib building to its own target image, instead of what's defined in the k8s manifest.The expected behavior is that the
jibMaven
block will contain an arg (-Dimage=gcr.io/k8s-skaffold/project1
) that will make sure it tags the image correctly.The text was updated successfully, but these errors were encountered: