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 have Harbor configured with external redis+sentinel
Setting just the redis.external.password (and NOT setting redis.external.password ) field (in the values.yaml) applies the password to the registry and chartmuseum components only, while harbor core fails to PING redis+sentinel with NOAUTH: Authentication required.
To put it simply: Redis password is NOT injected in the Redis connection url if only the redis.external.existingSecret is set
Potentially some resource lookup with helm or some comment (in the values.yaml) explaining that regardless of the redis.external.existingSecret, redis.external.password must be set would be better than nothing (but not perfect ofc).
To reproduce
Have external redis with authentication enabled
Create secret with redis pasword
Use that secret in the redis.external.existingSecret field
Do NOT set the redis.external.password (you're using exisitng secret, right?)
Deploy harbor from helm chart
See harbor core crashing while trying to PING redis
Harbor successfully connects to the Redis database using password from the existing secret
Another small thing is that redis url with the plaintext password is stored inside a ConfigMap and not a Secret (provided redis.external.password is set)
The text was updated successfully, but these errors were encountered:
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
Overview
I have Harbor configured with external redis+sentinel
Setting just the
redis.external.password
(and NOT settingredis.external.password
) field (in the values.yaml) applies the password to the registry and chartmuseum components only, while harbor core fails to PING redis+sentinel withNOAUTH: Authentication required
.To put it simply: Redis password is NOT injected in the Redis connection url if only the
redis.external.existingSecret
is setPotentially some resource lookup with helm or some comment (in the values.yaml) explaining that regardless of the
redis.external.existingSecret
,redis.external.password
must be set would be better than nothing (but not perfect ofc).To reproduce
redis.external.existingSecret
fieldredis.external.password
(you're using exisitng secret, right?)Tested with redis+sentinel deployed with: https://github.com/bitnami/charts/tree/main/bitnami/redis
Expected behaviour
Harbor successfully connects to the Redis database using password from the existing secret
Another small thing is that redis url with the plaintext password is stored inside a ConfigMap and not a Secret (provided
redis.external.password
is set)The text was updated successfully, but these errors were encountered: