-
Notifications
You must be signed in to change notification settings - Fork 16.7k
[stable/rabbitmq] better way to add plugins #12760
Comments
I agree it can be confusing for certain users and I'm pretty sure that some users will overwrite the plugins list (excluding the Do you want to do the corresponding PR to implement the approach you suggest? I can do it too but I'd rather give you the chance to contribute. |
The plugin list follows the format:
Please check the PR I create to change the approach to indicate the plugins to install. |
It was merged too quickly, I didn't have time to review it before the merge. I hope you have since seen my post-merge review. |
@juan131 bump; should I open a new issue to follow that? |
Opps!! Sorry I just saw this.
It's incompatible with the old-format but you can still upgrade the chart using the new format. E.g. $ helm install -f old-format-values.yaml --version 5.0.0 --name rabbitmq stable/rabbitmq
$ helm upgrade -f new-format-values.yaml --version 5.1.0 rabbitmq stable/rabbitmq We bump the major version when there's no way to run
Both solutions are valid. I don't see any problem on using a string with list of space separated plugins but we can use an array if you prefer it.
Wen can put an plugin as example instead of the empty string if you prefer it that way. |
That's OK; maybe I should have opened a new issue? Would it have been more visible?
I am surprised by this definition of "breaking change".
It does not define what is a breaking change indeed.. I searched for MAJOR bumps in rabbitmq and redis:
I do understand that there are various types of breaking changes, and that it's important to document them with high visibility and clarity to the charts users. If we accept values format changes as breaking changes, maybe the type of breaking change should be required to be documented in the README too? => this would need more discussion with the other maintainers of
Since we have a typed format (yaml), it seemed strange to me to re-invent our own serialization of lists; however, the usability for
👍 Useful working examples as commented-out values seems a great pattern to me. But I also raised a second point: to we want to support multiple ways to express the empty list? And do we want to show their existence through commented-out examples (as documentation)? |
What about plugins like |
Is this a request for help?: no
Is this a BUG REPORT or FEATURE REQUEST?: feature request
Which chart:
stable/rabbitmq
What happened:
I want to add an extra plugin, but
rabbitmq.plugins
already contains plugins by default, which are required for the chart to work (rabbitmq_management
is used by the probes,rabbitmq_peer_discovery_k8s
by the StatefulSet clustering).To add my extra plugin, I have to duplicate the content of this field, making upgrades less robust (what if some additional plugins are required in the future?)
#10070 handled the same issue, but for generic
rabbitmq.conf
. We could do the same forrabbitmq.plugins
:rabbitmq.plugins
+rabbitmq.extraPlugins
(to be retro-compatible).The text was updated successfully, but these errors were encountered: