-
Notifications
You must be signed in to change notification settings - Fork 190
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
[bug] Regression: can't use dockerconfigjson Secret for HelmRepository authentication since 1.1.0 #1218
Comments
Does switching the Secret to |
@aryan9600 I tested it, and yes, |
The long-term solution should really be to change the type of your Secret to |
@makkes Even if that's the case, I would at least expect such changes to be explicitly listed as "breaking changes", because it was functionality that was provided before, but isn't anymore. And the fact that |
Yes, I'm not disputing this. It was clearly an oversight on our side. |
Since release of source-controller 1.1.0 (flux 2.1.0), we see a problem preventing HelmRepository from being reconciled with an error:
We only use secretRef to provide authentication, the Secret doesn't have any TLS-related contents.
Secret in question has is of type "kubernetes.io/dockerconfigjson", and has 3 data fields:
.dockerconfigjson
,username
, andpassword
.HelmRepository is of regular indexed type (not OCI).
Furthermore, the help for
--secret-ref
option offlux create source helm
command still shows that it can be a docker secret:The text was updated successfully, but these errors were encountered: