Skip to content

feat: initial image cred plugin integration#184

Merged
porridge merged 6 commits intomasterfrom
porridge-cred-plugin
Apr 16, 2026
Merged

feat: initial image cred plugin integration#184
porridge merged 6 commits intomasterfrom
porridge-cred-plugin

Conversation

@porridge
Copy link
Copy Markdown
Collaborator

@porridge porridge commented Apr 14, 2026

This change enables basic kubelet credential provider plugin integration.

  • deploy has a new flag --use-kubelet-image-credential-integration=MODE which in turns causes the prefetcher deployment to mount config and plugin binaries from the host.
  • If configured, plugin credentials are fetched dynamically and tried for the images configured in the CredentialProviderConfig before pull secrets.
  • tested in fix(ci): work around preloaded image use problem in recent k8s stackrox#19287

Caveats:

  • Currently only supports mode GKE, which uses /etc/srv/kubernetes/cri_auth_config.yaml for config and /home/kubernetes/bin for binaries.
  • Caching is not considered at all, the plugin is simply executed every time it's needed.

AI-assisted

@mclasmeier
Copy link
Copy Markdown

A high-level PR description would be nice.

@porridge
Copy link
Copy Markdown
Collaborator Author

A high-level PR description would be nice.

Done.

Comment thread internal/credentialprovider/plugin.go Outdated
Comment thread internal/credentialprovider/plugin.go Outdated
@porridge porridge merged commit aebe9a0 into master Apr 16, 2026
4 checks passed
@porridge porridge deleted the porridge-cred-plugin branch April 16, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants