-
Notifications
You must be signed in to change notification settings - Fork 78
Add support to read path prefix from cluster specs #423
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
Conversation
ad03af8 to
93feff5
Compare
|
@blackjid, VMware has approved your signed contributor license agreement. |
|
Hi @blackjid, is this PR still WIP? Would you like the team's feedback on it yet? |
|
Hi @coro, well, I think it should be working. |
84a0e0d to
e0fd050
Compare
e0fd050 to
bace0da
Compare
|
I'd love to have some feedback on the way to support both For the
|
|
Ah, there may be confusion from our documentation. RabbitMQ doesn't support the true .ini config format, only the sysctl format from a library called cuttlefish. The only rules of the syntax are:
(From https://github.com/basho/cuttlefish/wiki/Cuttlefish-for-Application-Users) So in summary, you don't need to worry about .ini, only sysctl. The go-ini library you've chosen is great, and is what we use in the cluster-operator to set and parse the additional config files originally. Of your options for sysctl parsing above, I prefer the last one because it matches how the keys are set originally: |
bace0da to
89866ae
Compare
|
Thanks for the feedback... that was exactly what I needed :) |
89866ae to
f73a8b4
Compare
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! Let me pass this to another member of our team for a second opinion.
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.
Thank you for contributing!
No problem!, I'm really happy to do it :) Is there any plan of release this? |
|
@blackjid New release just cut 😊 See: https://github.com/rabbitmq/messaging-topology-operator/releases/tag/v1.8.0 |
|
Awesome! Thanks |
This closes #421
Note to reviewers: remember to look at the commits in this PR and consider if they can be squashed
Note to contributors: remember to re-generate client set if there are any API changes
Summary Of Changes
This pr add support for the operator to look at the cluster specs for the
path_prefixattribute if it is set. This way the operator can communicate with the cluster api while it can be exposed on a different path.Additional Context
The
additional_configproperty on the cluster spec adds configuration to for the cluster.I understand the cluster support ini and sysctl like configurations.
make unit-testsPASSref:
https://www.rabbitmq.com/kubernetes/operator/using-operator.html#additional-config
https://www.rabbitmq.com/configure.html#config-file