consts

package
v1.2.0-rc6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ExtensionName is extension name.
	ExtensionName = "cri-resmgr"
	ExtensionType = "cri-resmgr-extension"

	ControllerName = "cri-resmgr-controller"
	ActuatorName   = "cri-resmgr-actuator"
	ConfigsSuffix  = "-configs" // used for logger name, finalizer and controller name

	ManagedResourceName      = "extension-runtime-cri-resmgr"
	ConfigMapName            = "gardener-extension-cri-resmgr-configs"
	ConfigMapNamespaceEnvKey = "EXTENSION_CONFIGMAP_NAMESPACE"
	ConfigKey                = "config.yaml"
	// ChartPath should not have used "/"" on the end of the path! Func read from embed.FS don't see dir
	ChartPath                     = "charts/internal/cri-resmgr-installation"
	MonitoringManagedResourceName = "extension-monitoring-cri-resmgr"
	InstallationImageName         = "gardener-extension-cri-resmgr-installation"
	AgentImageName                = "gardener-extension-cri-resmgr-agent"
	InstallationReleaseName       = "cri-resmgr-installation"
	InstallationSecretKey         = "installation_chart"
)

Extension related constants

Variables

View Source
var (
	//go:embed charts/*
	Charts embed.FS

	//go:embed monitoring.yaml
	MonitoringYaml []byte
)

go embed requires files in package through security

View Source
var Commit string

Commit is commit of extension set during build time.

View Source
var Version string

Version is version of extension set during build time.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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