Username for External Redis is hardcoded
There is no way to configure External Redis username since it is hardcoded as redis.
See: {{- define "harbor.redis.url" -}}
Historically Redis didn't supported different users, so username didn't mattered.
But from version 6.0.0 it can also verify passed username:
https://redis.io/commands/auth
It would be nice to have an option to configure username too.
@jowko I'm going to transfer this issue to the repo goharbor/harbor as this needs the change of harbor
We considered not to add/support external redis username for Harbor 2.5.0 currently, because redis v6.0+ with AUTH <username> <password> has not been supported in other dependency like github.com/astaxie/beego.
beego upgrade issue: https://github.com/beego/beego/issues/4861
Any chance of this being looked at again?
We will keep looking for this. But one thing is that chart-museum is going to deprecated . We need to fully validated and make sure all the components , like trivy should work fine with external redis in using the ACL mode.
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.
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.
Issue is still not resolved.
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.
not stale, still an issue
https://github.com/goharbor/harbor/issues/18892 DO NOT USE external redis username which would affect distribution performance on push and pulling