-
Notifications
You must be signed in to change notification settings - Fork 830
Description
Couple things:
If you use helm template,
lookupdoes not workas of now chart does not create any secrets by itself for redis internal or external
Currently harbor requires full URL for redis for most of its components (so it's not possible to specify password in a separate env for most components, registry component being the exception here)
Technically we could add a check for empty value, but helm will not be able to template the url with value from existing secret, and your harbor will crash, having no password in the templated url
So, deploying with helm template and existingSecret for external redis is currently not supported
To do this properly two things would need to happen
All harbor components would need to have an ability to use the password from the separate env variable (just like registry component does) - and this would have to be in harbor itself, not the helm chart (you would need to create Issue in the main harbor repo)
Then Helm chart would need to adapt to that change and provide url without password, and separate env with password referencing existing secret
Originally posted by @Kajot-dev in #1641
Hello,
I'd like to know if there is any plan to do this implementation described above (Thanks @Kajot-dev !). With growing interest on this product and with the knowledge that many enterprise organization use tools like ArgoCD to deploy their application, i'd like to bring this up again and maybe start an initiative to implement the suggestion from @Kajot-dev .
Thank you