-
Notifications
You must be signed in to change notification settings - Fork 22
Better connection strings #152
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
Better connection strings #152
Conversation
we have cloudnative postgres operator and all params are in secret. helper should look like
(it's not tested, only example as POC) I have a time and I can do it. |
48995df
to
cf9e856
Compare
@lindhe, Take another look 😉 |
c7ac4a6
to
65f8d0c
Compare
I think maybe my merge via GitHub went wrong, because something is badly broken right now. I've reset to your last commit. Checking things again now… |
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.
There's a bunch of relatively minor comments here. But in my last test, I think the values looked pretty broken when I ran env
in the container. I'll see if I can narrow down that issue while we're addressing my other comments here.
It seems to work well, but I'm a bit confused with these variables: $ kubectl exec deploy/invenio-web -c web -- env | grep RABBITMQ_PORT
INVENIO_RABBITMQ_PORT_25672_TCP=tcp://10.43.72.254:25672
INVENIO_RABBITMQ_PORT_4369_TCP_ADDR=10.43.72.254
INVENIO_RABBITMQ_PORT_25672_TCP_ADDR=10.43.72.254
INVENIO_RABBITMQ_PORT_15672_TCP_ADDR=10.43.72.254
INVENIO_RABBITMQ_PORT_15672_TCP_PROTO=tcp
INVENIO_RABBITMQ_PORT=tcp://10.43.72.254:5672
INVENIO_RABBITMQ_PORT_25672_TCP_PORT=25672
INVENIO_RABBITMQ_PORT_5672_TCP_ADDR=10.43.72.254
INVENIO_RABBITMQ_PORT_25672_TCP_PROTO=tcp
INVENIO_RABBITMQ_PORT_5672_TCP_PROTO=tcp
INVENIO_RABBITMQ_PORT_4369_TCP_PORT=4369
INVENIO_RABBITMQ_PORT_5672_TCP_PORT=5672
INVENIO_RABBITMQ_PORT_4369_TCP_PROTO=tcp
INVENIO_RABBITMQ_PORT_4369_TCP=tcp://10.43.72.254:4369
INVENIO_RABBITMQ_PORT_15672_TCP=tcp://10.43.72.254:15672
INVENIO_RABBITMQ_PORT_15672_TCP_PORT=15672
INVENIO_RABBITMQ_PORT_5672_TCP=tcp://10.43.72.254:5672 I guess they are just strangely named variables in the container, not something we've set here that gets messed up, right? |
a0153bc
to
400c50c
Compare
I don't see any of these variables in any of the containers I have (using my old branch with these changes). But, judging from the name, they might be some k8s thingy? |
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.
If you are happy with the changes now, I think this is ready to merge. 🙂
i'm not familiar enough to make a call with helm charts, but it looks like there was a discussion and it got accepted – so i moved it to "to release" |
@max-moser I still have some unresolved comments. No release yet. |
I can't approve the PR because I made it 😛 |
Thanks. I'll add the last change with comments that I mentioned, then I'll approve. Then you merge if you are happy with my changes. 😛 |
Turns out I already made that change, totally forgot about that! 😄 I think this looks good now. I'll just one quick test to see that I didn't miss something obvious, then I'll approve. |
No description provided.