kotsadm

package
v1.82.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	POSTGRES_USER             = "kotsadm"
	POSTGRES_DB               = "kotsadm"
	POSTGRES_HOST_AUTH_METHOD = "md5"
	POSTGRES_UPGRADE_PORT     = "50432" // run on different port to avoid unintended client connections.
	POSTGRES_UPGRADE_DIR      = "/var/lib/postgresql/upgrade"
	POSTGRES_PVC_MOUNT_PATH   = "/var/lib/postgresql/data"
	POSTGRES_10_DATA_DIR      = "/var/lib/postgresql/data/pgdata"
	POSTGRES_14_DATA_DIR      = "/var/lib/postgresql/data/pg14data"
)

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 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 PgSecret

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

func PostgresConfigMap

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

func PostgresService

func PostgresService(namespace string) *corev1.Service

func PostgresStatefulset

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

func PrivateKotsadmRegistrySecret

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

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