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.20.0-rc.0
Published
Dec 1, 2020
Platform
windows/amd64
Imports
3 packages
Last checked
11 seconds ago

Tools for package owners.