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
Helm Registry only supports a single set of credentials per registry. #13237
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.
Workaround
In order to temporarily workaround this, you run helm registry login against the root registry URL (Credential A) which would overwrite the old entry with a fresh set of credentials.
Output of helm version:
version.BuildInfo{Version:"v3.15.3", GitCommit:"3bb50bbbdd9c946ba9989fbe4fb4104766302a64", GitTreeState:"clean", GoVersion:"go1.22.5"}
Output of kubectl version:
Client Version: v1.30.3
iirc, this a limitation of the underlying 'docker' credentials system. I don't think it is limited to MacOS either. I agree, the functionality above would be preferred.
Also, iirc, there is an existing issue with more details. Digging that up (and closing this if it is a dup) would be useful.
Thanks @gjenkins8, I was kind of suspecting that this might not be limited to helm but figured it was worth raising. Also, I tried looking for an existing issue but couldn't seem to find one so I appreciate the effort and quick response on this!
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
Activity
gjenkins8 commentedon Aug 8, 2024
iirc, this a limitation of the underlying 'docker' credentials system. I don't think it is limited to MacOS either. I agree, the functionality above would be preferred.
Also, iirc, there is an existing issue with more details. Digging that up (and closing this if it is a dup) would be useful.
tech1ndex commentedon Aug 8, 2024
Thanks @gjenkins8, I was kind of suspecting that this might not be limited to helm but figured it was worth raising. Also, I tried looking for an existing issue but couldn't seem to find one so I appreciate the effort and quick response on this!
York-Richter commentedon Aug 26, 2024
Related to #11286 ?
github-actions commentedon Aug 20, 2025
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.
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'm closing this as a dup of #11286 this should be covered by the registries.conf work I started on oras-project/oras-go#1008