constants

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MPL-2.0 Imports: 0 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"

	// 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.
	PatchWeightInstallDisk = 0
	// PatchBaseWeightCluster is the base weight for cluster patches.
	PatchBaseWeightCluster = 200
	// PatchBaseWeightMachineSet is the base weight for machine set patches.
	PatchBaseWeightMachineSet = 400
	// PatchBaseWeightClusterMachine is the base weight for cluster machine patches.
	PatchBaseWeightClusterMachine = 400
)
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 DisableValidation = "disable-validation"

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

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).

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