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.23.1-rc.0
Published
Dec 7, 2021
Platform
js/wasm
Imports
3 packages
Last checked
2 minutes ago

Tools for package owners.