package secrets

import "github.com/vdemeester/k8s-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.22.4 (latest)
Published
Nov 19, 2021
Platform
js/wasm
Imports
3 packages
Last checked
3 weeks ago

Tools for package owners.