You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not able to configure Redis connection through helm chart via connections.local_production_json. I wanted to use connections.local_production_json so I can configure multiple connections with passwords.
Context:
I used the helm chart v0.6.0 to deploy Redis Commander.
I set the values.yaml file based on the example like so:
I confirmed that the configmap resource was successfully created
I confirmed that the configmap was successfully mounted
At this point, the UI was showing only connection local (localhost:6739:0). This is NOT the connection I defined in local_production_json.
I verified that the connection in my values.yaml file was correct by manually adding it:
After I manually added the connection, it was added to the local-production.json
And here's example what the logs look like at the point where I manually added the connection. All the connection errors are coming from trying to conenect to localhost:6739:0, which I did NOT configure:
The text was updated successfully, but these errors were encountered:
Ok, I found that the config file is loaded depending on the NODE_ENV env var, and that currently NODE_ENV env var is NOT used for anything else in this project. So I was able to fix this by explicitly setting NODE_ENV=production-docker, so that the config file generated by helm chart is used.
Problem:
I'm not able to configure Redis connection through helm chart via
connections.local_production_json
. I wanted to useconnections.local_production_json
so I can configure multiple connections with passwords.Context:
I used the helm chart v0.6.0 to deploy Redis Commander.
I set the
values.yaml
file based on the example like so:Click to toggle values.yaml
I confirmed that the configmap resource was successfully created
I confirmed that the configmap was successfully mounted
At this point, the UI was showing only connection
local (localhost:6739:0)
. This is NOT the connection I defined inlocal_production_json
.I verified that the connection in my
values.yaml
file was correct by manually adding it:After I manually added the connection, it was added to the
local-production.json
And here's example what the logs look like at the point where I manually added the connection. All the connection errors are coming from trying to conenect to
localhost:6739:0
, which I did NOT configure:The text was updated successfully, but these errors were encountered: