Skip to content

fix(36): helmvalues.NewAuthClient does not panick over HelmRegistry credentials - #46

Merged
iljaweis merged 5 commits into
open-component-model:mainfrom
lukasgr90:fix/36-do-not-panic-over-ocm-config-with-helm-registry-creds
Aug 27, 2026
Merged

fix(36): helmvalues.NewAuthClient does not panick over HelmRegistry credentials#46
iljaweis merged 5 commits into
open-component-model:mainfrom
lukasgr90:fix/36-do-not-panic-over-ocm-config-with-helm-registry-creds

Conversation

@lukasgr90

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

helmvalues.NewAuthClient now filters credentials from the load OCM configuration, which would require a CredentialPluginProvider. All of them are of no use for ocm-kit's further on. Thus this fix approach is simpler than implementation of a CredentialPluginProvider, which covers currently & in future supported credential types.

Which issue(s) this PR fixes

Fixes #36

…s.NewAuthClient panics over HelmCredentials within the OCM configuration

Signed-off-by: Lukas Grundmann <lukas.grundmann@opendefense.cloud>
… would require a CredentialProvider within helmvalues.NewAuthClient, but have no effect on ocm-kit's functionality.

Signed-off-by: Lukas Grundmann <lukas.grundmann@opendefense.cloud>
@lukasgr90
lukasgr90 force-pushed the fix/36-do-not-panic-over-ocm-config-with-helm-registry-creds branch from e3a734d to 76be72e Compare August 26, 2026 14:36
Signed-off-by: Lukas Grundmann <lukas.grundmann@opendefense.cloud>
Signed-off-by: Lukas Grundmann <lukas.grundmann@opendefense.cloud>
@iljaweis
iljaweis merged commit 50225ce into open-component-model:main Aug 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ocm-kit CLI panics over Helm registry credentials within OCM config

2 participants