-
Notifications
You must be signed in to change notification settings - Fork 518
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
Add Support for specifying multiple tags in Zero Configuration mode #1188
Labels
demoable
Issues which can be demoed during the Sprint review meeting
enhancement
New feature or request
Milestone
Comments
sunix
added
the
demoable
Issues which can be demoed during the Sprint review meeting
label
Apr 11, 2022
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Apr 20, 2022
…r to add tags (eclipse-jkube#1188) Right now there isn't a way to add tags to BuildConfiguration while using zero config mode in generators. Adding a configuration field in BaseGenerator which would expect comma separated tags which can be picked up by Generator while building opinionated Image configuration Signed-off-by: Rohan Kumar <rohaan@redhat.com>
Merged
12 tasks
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
Apr 22, 2022
…r to add tags (eclipse-jkube#1188) Right now there isn't a way to add tags to BuildConfiguration while using zero config mode in generators. Adding a configuration field in BaseGenerator which would expect comma separated tags which can be picked up by Generator while building opinionated Image configuration Signed-off-by: Rohan Kumar <rohaan@redhat.com>
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
May 4, 2022
…r to add tags (eclipse-jkube#1188) Right now there isn't a way to add tags to BuildConfiguration while using zero config mode in generators. Adding a configuration field in BaseGenerator which would expect comma separated tags which can be picked up by Generator while building opinionated Image configuration Signed-off-by: Rohan Kumar <rohaan@redhat.com>
rohanKanojia
added a commit
to rohanKanojia/jkube
that referenced
this issue
May 6, 2022
…r to add tags (eclipse-jkube#1188) Right now there isn't a way to add tags to BuildConfiguration while using zero config mode in generators. Adding a configuration field in BaseGenerator which would expect comma separated tags which can be picked up by Generator while building opinionated Image configuration Signed-off-by: Rohan Kumar <rohaan@redhat.com>
manusa
pushed a commit
that referenced
this issue
May 6, 2022
…r to add tags (#1188) Right now there isn't a way to add tags to BuildConfiguration while using zero config mode in generators. Adding a configuration field in BaseGenerator which would expect comma separated tags which can be picked up by Generator while building opinionated Image configuration Signed-off-by: Rohan Kumar <rohaan@redhat.com>
thanks @rohanKanojia @manusa for adding this :) |
Nice to read you :) I'm not sure if you're still using JKube, but Your feedback is very good, and you know we really appreciate it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
demoable
Issues which can be demoed during the Sprint review meeting
enhancement
New feature or request
Description
This was originally suggested by @kameshsampath in chat. I'm just creating an issue about it for reference.
Right now if user wants to provide multiple tags on container image during build/push goals. He has to provide full image configuration like this:
It would be nice if we could support specifying multiple tags in zero-configuration mode via specifying some property.
I think we can implement this via adding a configuration option in BaseGenerator about comma-separated tags string:
https://github.com/eclipse/jkube/blob/bdfb00e1b02a7cbd84723ccf24a7413f940b4ebd/jkube-kit/generator/api/src/main/java/org/eclipse/jkube/generator/api/support/BaseGenerator.java#L59-L64
this configuration can be parsed later and tags can be added to BuildConfiguration builder, like
latest
tag is added for-SNAPSHOT
versions here:https://github.com/eclipse/jkube/blob/bdfb00e1b02a7cbd84723ccf24a7413f940b4ebd/jkube-kit/generator/api/src/main/java/org/eclipse/jkube/generator/api/support/BaseGenerator.java#L224
If we do this user would be able to specify multiple tags by just specifying generator config as property:
Info
mvn -v
) :Kubernetes / Red Hat OpenShift setup and version : N/A
If it's a bug, how to reproduce : N/A
If it's a feature request, what is your use case : Allow specifying multiple tags on opinionated images
Sample Reproducer Project : N/A
The text was updated successfully, but these errors were encountered: