Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KotsadmPullSecret ¶
func KotsadmPullSecret(namespace string, registryConfig types.RegistryConfig) *corev1.Secret
func KotsadmRegistry ¶
func KotsadmRegistry(registryConfig types.RegistryConfig) string
func KotsadmTag ¶
func KotsadmTag(registryConfig types.RegistryConfig) string
return "alpha" for all invalid versions of kots, kotsadm tag that matches this version for others
Types ¶
type ImageRewriteFunc ¶
type ImageRewriteFunc func(upstreamImage string, alwaysRewrite bool) (image string, imagePullSecrets []corev1.LocalObjectReference, err error)
func DependencyImageRewriteKotsadmRegistry ¶
func DependencyImageRewriteKotsadmRegistry(namespace string, registryConfig *types.RegistryConfig) ImageRewriteFunc
This function will rewrite images and use the image's original tag
func KotsadmImageRewriteKotsadmRegistry ¶
func KotsadmImageRewriteKotsadmRegistry(namespace string, registryConfig *types.RegistryConfig) ImageRewriteFunc
This function will rewrite images and use the version from this binary as image tag when not overriden
Click to show internal directories.
Click to hide internal directories.