package secrets

import "k8s.io/kubernetes/pkg/credentialprovider/secrets"

Index

Functions

func MakeDockerKeyring

func MakeDockerKeyring(passedSecrets []v1.Secret, defaultKeyring credentialprovider.DockerKeyring) (credentialprovider.DockerKeyring, error)

MakeDockerKeyring inspects the passedSecrets to see if they contain any DockerConfig secrets. If they do, then a DockerKeyring is built based on every hit and unioned with the defaultKeyring. If they do not, then the default keyring is returned

Source Files

secrets.go

Version
v1.30.5
Published
Sep 12, 2024
Platform
js/wasm
Imports
3 packages
Last checked
28 seconds ago

Tools for package owners.