-
Notifications
You must be signed in to change notification settings - Fork 307
Add host and port to default-user secret. #755
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
This provides additional information in the context of the Provisioned Service Binding spec https://k8s-service-bindings.github.io/spec/#provisioned-service When TLS is configured, we provide the AMQPS port, otherwise we provide the AMQP port. The host is the dns name of the service.
6e24138 to
11891b6
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.
Did some manual testing. Plugin ports are added successfully when the plugin is enabled at creation. However, when plugins are enabled after the cluster is already created, the service binding secret is not updated newly added plugin port.
What I did: 1) create a RMQ cluster with no additional plugins 2) update the cluster with one additional plugin like
spec:
...
rabbitmq:
additionalPlugins:
- rabbitmq_stomp- inspect the default user secret, which wasn't updated with the STOMP port after 5 minutes
apiVersion: v1
data:
default_user.conf:
host:
password:
port: NTY3Mg==
provider: cmFiYml0bXE=
type: cmFiYml0bXE=
username: Fix asciidoc.
f4f134a to
74495c2
Compare
ChunyiLyu
left a comment
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.
Update works now! Thank you :)
This provides additional information in the context of the Provisioned
Service Binding spec https://k8s-service-bindings.github.io/spec/#provisioned-service
When TLS is configured, we provide the AMQPS port, otherwise we provide
the AMQP port.
The host is the dns name of the service.
When additional plugins supporting other protocols are enabled, ports for those protocols are also added to the secret.