-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Registry Credentials htpasswdString
and existingSecret
do not work as expected
#1830
Comments
this is a "common"/"known" bug, I mentioned that a few times. There was also a comment in the yaml, (apparently its gone) if |
Thanks for letting me know, so does this apply to the secret as well? So you would need
All defined in the secret? Because I've found that even when we set all 3 within the secret, it's causing an issue. |
I would say so, but it seems doubtable made a different experience. Try to render the manifests locally and see if you get the matching username password taken from your secrets |
@Vad1mo how would we check the username/password/htpasswdString that is pulled into the application? Is there a way to have it log environment variables on run for each and dump the variables where they are being used? We have these two scenarios:
So I'm thinking it could be:
Thanks :) |
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 is still an issue |
Hey guys, I've managed to deploy Helm Chart version 1.16.0. Here is some important points: REGISTRY_HTPASSWD:
REGISTRY_PASSWD:
values.yaml
|
This is the original issue: goharbor/harbor#20822 (comment)
I investigated further, looks that the issue is in relation to the
values.yaml
If you use the
username
andpassword
values, it will work as expected. But if you try to use thehtpasswdString
orexistingSecret
, it does not work. We do see the error from the previously defined bug.To test the existing secret we set it to an existing secret in the namespace, reference it in the
yaml
, then fill in both theusername
andpassword
values in the secret. We also check by putting in thehtpasswdString
into the secret to test if that works.It could be a misunderstanding on how there are supposed to work, but as far as I can tell the secret is configured properly.
Any information on the proper setup / potential causes of this would be greatly appreciated :)
The text was updated successfully, but these errors were encountered: