harbor.redis.pwdfromsecret should work without lookup#1894
harbor.redis.pwdfromsecret should work without lookup#1894cthtrifork wants to merge 2 commits intogoharbor:mainfrom
Conversation
Currently `harbor.redis.pwdfromsecret` fails when using ´dry-run` with helm, as it insist on making a lookup and fails if there is no secret. I have tried to make it fallback. Signed-off-by: Casper Thygesen <cth@trifork.com>
|
Hi @cthtrifork , I understood this |
|
This also breaks Helm diff, and Helmfile. Helm diff apparently has an environment variable you can set to enable this, but I can't get it to work through Helmfile, so I have no way to deploy Harbor at all... Edit: Never mind, I just realized after commenting that I still needed to pass the argument as well as the environment variable. This can be done in the helmDefaults:
diffArgs:
- "--dry-run=server" |
The lookup function can not be invoked with this flag is set |
|
@PseudoResonance hi josh. Could you soon have a look at this? |
Did you mean to ping @MinerYang ? I'm not a maintainer of Harbor. |
|
Yes I am sorry! I misclicked |
|
Hi @cthtrifork , From the helm doc, the |
|
This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days. |
|
This PR was closed because it has been stalled for 30 days with no activity. If this PR is still relevant, please re-open a new PR against main. |
Currently
harbor.redis.pwdfromsecretfails when using ´dry-run` with helm, as it insist on making a lookup and fails if there is no secret. I have tried to make it fallback.Otherwise exception is thrown: