kotsadm

package
v1.108.10 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinioXlMigrationScriptsConfigmapName = "kotsadm-minio-xl-migration-scripts"
)

Variables

This section is empty.

Functions

func ApiClusterTokenSecret

func ApiClusterTokenSecret(deployOptions types.DeployOptions) *corev1.Secret

func ApiEncryptionKeySecret

func ApiEncryptionKeySecret(namespace string, key string) *corev1.Secret

func ApplicationMetadataConfig

func ApplicationMetadataConfig(data []byte, namespace string, upstreamURI string) *corev1.ConfigMap

func ConfigValuesSecret

func ConfigValuesSecret(namespace string, configValues string) *corev1.Secret

func DefaultKOTSNodeLabelSelector added in v1.89.0

func DefaultKOTSNodeLabelSelector() (labels.Selector, error)

func DistributionConfigMap

func DistributionConfigMap(deployOptions types.DeployOptions) *corev1.ConfigMap

func DistributionService

func DistributionService(deployOptions types.DeployOptions) *corev1.Service

func DistributionStatefulset

func DistributionStatefulset(deployOptions types.DeployOptions, size resource.Quantity) *appsv1.StatefulSet

func GetAdminConsoleImage

func GetAdminConsoleImage(deployOptions types.DeployOptions, imageKey string) string

func GetAdminConsoleImages

func GetAdminConsoleImages(deployOptions types.DeployOptions) map[string]string

func GetOriginalAdminConsoleImages

func GetOriginalAdminConsoleImages(deployOptions types.DeployOptions) map[string]string

func GetProxyEnv

func GetProxyEnv(deployOptions types.DeployOptions) []corev1.EnvVar

func JwtSecret

func JwtSecret(namespace string, jwt string) *corev1.Secret

func KotsadmClusterRole

func KotsadmClusterRole() *rbacv1.ClusterRole

func KotsadmClusterRoleBinding

func KotsadmClusterRoleBinding(serviceAccountNamespace string) *rbacv1.ClusterRoleBinding

func KotsadmConfigMap

func KotsadmConfigMap(deployOptions types.DeployOptions) *corev1.ConfigMap

func KotsadmDeployment

func KotsadmDeployment(deployOptions types.DeployOptions) (*appsv1.Deployment, error)

func KotsadmIngress

func KotsadmIngress(namespace string, ingressConfig kotsv1beta1.IngressResourceConfig) *networkingv1.Ingress

func KotsadmRole

func KotsadmRole(namespace string) *rbacv1.Role

func KotsadmRoleBinding

func KotsadmRoleBinding(roleBindingNamespace string, kotsadmNamespace string) *rbacv1.RoleBinding

func KotsadmService

func KotsadmService(namespace string, nodePort int32) *corev1.Service

func KotsadmServiceAccount

func KotsadmServiceAccount(namespace string) *corev1.ServiceAccount

func KotsadmStatefulSet

func KotsadmStatefulSet(deployOptions types.DeployOptions, size resource.Quantity) (*appsv1.StatefulSet, error)

func LicenseSecret

func LicenseSecret(namespace string, appSlug string, isAirgap bool, license string) *corev1.Secret

func MinioService

func MinioService(namespace string) *corev1.Service

func MinioStatefulset

func MinioStatefulset(deployOptions types.DeployOptions, size resource.Quantity) (*appsv1.StatefulSet, error)

func MinioXlMigrationScriptsConfigMap added in v1.95.0

func MinioXlMigrationScriptsConfigMap(namespace string) *corev1.ConfigMap

func PrivateKotsadmRegistrySecret

func PrivateKotsadmRegistrySecret(namespace string, registryConfig types.RegistryConfig) *corev1.Secret

func RqliteHeadlessService added in v1.89.0

func RqliteHeadlessService(namespace string) *corev1.Service

func RqliteSecret added in v1.89.0

func RqliteSecret(namespace string, password string) *corev1.Secret

func RqliteService added in v1.89.0

func RqliteService(namespace string) *corev1.Service

func RqliteStatefulset added in v1.89.0

func RqliteStatefulset(deployOptions types.DeployOptions, size resource.Quantity) (*appsv1.StatefulSet, error)

func S3Secret

func S3Secret(namespace string, accessKey string, secretKey string) *corev1.Secret

func SharedPasswordSecret

func SharedPasswordSecret(namespace string, bcryptPassword string) *corev1.Secret

func UpdateKotsadmDeployment

func UpdateKotsadmDeployment(existingDeployment *appsv1.Deployment, desiredDeployment *appsv1.Deployment) error

func UpdateKotsadmStatefulSet

func UpdateKotsadmStatefulSet(existingStatefulset *appsv1.StatefulSet, desiredStatefulSet *appsv1.StatefulSet) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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