version

package
v1.122.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

func KotsadmTagForVersionString

func KotsadmTagForVersionString(kotsVersion string) string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL