Skip to content

Redis existingSecret rendering issue pending #2291

@mlimardo1984

Description

@mlimardo1984

Couple things:

  • If you use helm template, lookup does not work

  • as 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

  1. 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)

  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions