constants

package
v0.37.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package constants contains global backend constants.

Index

Constants

View Source
const (
	// TalosRegistry is the default Talos repository URL.
	TalosRegistry = "ghcr.io/siderolabs/installer"

	// ImageFactoryBaseURL is the default Image Factory base URL.
	ImageFactoryBaseURL = "https://factory.talos.dev"

	// KubernetesRegistry is the default kubernetes repository URL.
	KubernetesRegistry = "ghcr.io/siderolabs/kubelet"
)
View Source
const (
	// PatchWeightInstallDisk is the weight of the install disk config patch.
	// tsgen:PatchWeightInstallDisk
	PatchWeightInstallDisk = 0
	// PatchBaseWeightCluster is the base weight for cluster patches.
	// tsgen:PatchBaseWeightCluster
	PatchBaseWeightCluster = 200
	// PatchBaseWeightMachineSet is the base weight for machine set patches.
	// tsgen:PatchBaseWeightMachineSet
	PatchBaseWeightMachineSet = 400
	// PatchBaseWeightClusterMachine is the base weight for cluster machine patches.
	// tsgen:PatchBaseWeightClusterMachine
	PatchBaseWeightClusterMachine = 400
)
View Source
const (
	// EncryptionConfigName human-readable encryption config patch name annotation.
	EncryptionConfigName = "disk encryption config"

	// EncryptionConfigDescription description of the encryption config patch.
	EncryptionConfigDescription = "Makes machine encrypt disks using Omni as a KMS server"
)
View Source
const CertificateValidityTime = time.Hour * 24 * 365 // 1 year

CertificateValidityTime is the default validity time for certificates.

View Source
const (
	// DefaultAccessGroup specifies the default Kubernetes group asserted in the token claims if the user has modify access to the clusters.
	//
	// If not, the user will only have the groups specified in the ACLs (AccessPolicies) in the token claims (will be empty if there is no matching ACL).
	DefaultAccessGroup = "system:masters"
)
View Source
const DefaultTalosVersion = "1.7.4"

DefaultTalosVersion is pre-selected in the UI, default image and used in the integration tests.

tsgen:DefaultTalosVersion

View Source
const DisableValidation = "disable-validation"

DisableValidation force disable resource validation on the Omni runtime for a particular resource (only for debug build).

View Source
const (
	// EncryptionPatchPrefix is the prefix of the encryption config patch.
	EncryptionPatchPrefix = "950"
)
View Source
const GRPCMaxMessageSize = 32 * 1024 * 1024

GRPCMaxMessageSize is the maximum message size for gRPC server.

View Source
const IsDebugBuild = false

IsDebugBuild is set to true when the build is a debug build (WITH_DEBUG=true).

View Source
const KubernetesAdminCertCommonName = "omni:admin"

KubernetesAdminCertCommonName is the common name of the Kubernetes admin certificate.

View Source
const SecureBoot = "secureboot"

SecureBoot defines query parameter for enabling secure boot for the generated image. tsgen:SecureBoot

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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