-
Notifications
You must be signed in to change notification settings - Fork 121
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
Removed the script to generate the configuration #963
Removed the script to generate the configuration #963
Conversation
Signed-off-by: Paolo Patierno <[email protected]>
This PR comes together with strimzi/strimzi-kafka-operator#11032 |
Signed-off-by: Paolo Patierno <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks. Should we merge it so that the other PR can use :latest
container images?
Or maybe ... have you considered having for some time both mechanisms for better backwards compatibility?
Yeah. I am addressing feedback on that PR first and back to this to merge.
Tbh I think it's much effort to take both mechanisms mostly from the operator perspective to configure in both way depending on the version. I don't think it's worth it. As commented on the other PR we can add a line in the "Major changes, deprecations and removals" section for the operator CHANGELOG to highlight the bridge version to be used. |
I meant only the Bridge here -> to be able to use new bridge with old operator. I thought it might be useful for the 0.45 patch releases But I guess you are right that it is quite a lot of effort for very little gain. So I'm completely fine to have this merged without it. |
I was chatting with @im-konge about this ... |
@ppatierno I would expect the STs use by default whatever Bridge version is in the installation files. At the end that is how it knows to use the 0.31.1 version right now. So hen you change it to |
Which installation files are you referring to? From my understanding it seems that the bridge STs configuration sticks with "latest-released" maybe taking the version from the bridge.version file. So I had to tweak that YAML replacing "latest-released" with a specific image or I should set "latest" there. Is my understanding right @im-konge ? |
Those in packaging. Just set it there to |
This could work if changing the 060 Deployment YAML for all STs but it won't work for the ones using the Helm Charts if you see my latest comment on the operator repo PR. |
TBH,
The Helm Charts are the source for the 060-... file. So you need to change it there in the first place. Not sure wh would the STs not respect the Helm Chart. IMHO that is where they get the 0.31.1 version as well by just using whatever is there. I mean, I have not tried any of that - so a lot depends on what the STs do on top of the installation files of course. |
This is not what I get discussing with @im-konge |
As I mentioned during our offline conversation, the Helm installation is working the same way for the operator (meaning when you change the values.yaml, it will be respected for the operator), but for the Bridge the whole config is "hard-coded" in the STs:
The |
It's done this way, because nobody really needed to change the image for Bridge in the past -> but you already created the issue for having a possibility to configure the Bridge image even for the Helm (and I will look into it). |
After an offline chat with Lukas I am going to merge this one so we have the official Strimzi bridge "latest" image. |
This PR is part of the work for the operator issue strimzi/strimzi-kafka-operator#10959 and remove the script to prepare the bridge configuration when running on container because it's done by the operator by making a ConfigMap then mounted on the bridge pod.