Documentation
¶
Index ¶
Constants ¶
View Source
const RegistryDockerConfFilename = ".dockerconfigjson"
View Source
const RegistrySecretConfEnvVar = "REGISTRY_SECRET_CONF"
Variables ¶
This section is empty.
Functions ¶
func MountSecretRegistryConfig ¶ added in v2.3.0
func MountSecretRegistryConfig(ctx context.Context, c client.Client, namespace, prefix, name string) (string, error)
MountSecretRegistryConfig write a file containing the secret registry config in a temporary folder. The procedure tries to read the secret from "REGISTRY_SECRET_CONF" environment variable, as, such a value could have been provided by operator in "Pod" build strategy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.