Duplicate entries in deployment yaml with gradle plugin #2072
-
I've the below gradle config
with this under
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
@manojvignesh : Is your Image configuration complete? I think plugin is trying to create opinionated image itself because it doesn't see full image configuration (requires Do you just want to configure image name? You can do it using |
Beta Was this translation helpful? Give feedback.
-
In this case the
can't I use them both together? images and other configs? |
Beta Was this translation helpful? Give feedback.
-
I just want to customize two things under image:
I just want to use the default for other configs. I'd skip this if there are better ways to do the above two steps. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot. That did the trick. So these are system properties which I'm passing as Is there a better way of passing this? Like in application.yaml or build.gradle? |
Beta Was this translation helpful? Give feedback.
@manojvignesh : Is your Image configuration complete? I think plugin is trying to create opinionated image itself because it doesn't see full image configuration (requires
build
section where you specify things likefrom
,entrypoint
etc).Do you just want to configure image name? You can do it using
jkube.generator.name
property.