You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
authentication failure with oci images when logged into multiple registries on the same domain at different subpaths #11286
Basically note that after logging out of the unneeded group1 that helm is happy again. It seems to be picking credentials based on domain instead of the most specific subpath.
I'm experiencing this issue from argocd 2.4.11 but I repro'd it locally without argocd as well.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
I logged into eu.gcr.io/company-name to pull some charts.
Then I logged into eu.gcr.io/company-name/charts to pull other charts, with different credentials. Helm seems to not be able to tell which registry to use, meaning that attempts to pull from eu.gcr.io/company-name/charts would sometimes fail if they use the credentials under the eu.gcr.io/company-name key or succeed if they used the eu.gcr.io/company-name/charts key.
Other tools have a different approach here. docker login for the two different registry paths will only store one set of credentials.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Run into this today, and managed to narrow it down to how helm uses Oras for remote registry access. There is an issue raised there to handle it but they don't seem to be prioritizing it: oras-project/oras-go#840
If Credential A expires but persists in the keychain, helm will always try to use this credential even when pushing to the project that was enrolled with Credential B, furthermore if you inspect the config.json file, you will only see one set of credentials (Credential B).
I am not sure if this is a limitation of the OSX Keychain or simply the implementation here but it would be nice to have a mechanism where multiple projects from the same registry could have their credentials managed and used appropriately.
Activity
github-actions commentedon Dec 12, 2022
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
mmerickel commentedon Dec 13, 2022
not stale
tuananh commentedon Feb 8, 2023
not stale
mawatech commentedon Mar 27, 2023
This one is really annoying because we also have different credentials for different groups in our company registry...
falk-w commentedon Mar 29, 2023
+1 can confirm this is an issue.
SgtCoDFish commentedon Jun 26, 2023
I encountered something like this as well.
I logged into
eu.gcr.io/company-nameto pull some charts.Then I logged into
eu.gcr.io/company-name/chartsto pull other charts, with different credentials. Helm seems to not be able to tell which registry to use, meaning that attempts to pull fromeu.gcr.io/company-name/chartswould sometimes fail if they use the credentials under theeu.gcr.io/company-namekey or succeed if they used theeu.gcr.io/company-name/chartskey.Other tools have a different approach here.
docker loginfor the two different registry paths will only store one set of credentials.cuisongliu commentedon Jul 18, 2023
#12237 This pr seems to fix the issue
github-actions commentedon Oct 17, 2023
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
none0nfg commentedon Oct 17, 2023
Doesn't help me
4 remaining items
github-actions commentedon Apr 18, 2024
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
github-actions commentedon Aug 19, 2024
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
patrikbeno commentedon Sep 25, 2024
not stale
Tehsmash commentedon Sep 19, 2025
Run into this today, and managed to narrow it down to how helm uses Oras for remote registry access. There is an issue raised there to handle it but they don't seem to be prioritizing it: oras-project/oras-go#840
TerryHowe commentedon Oct 14, 2025
I have a PR on oras-go oras-project/oras-go#1008 for registries.conf support
From the other PR:
#13237
feat(source): Helm subchart dependency resolution at pull time (Phase…