upgrade

package
v0.0.0-...-4a64353 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// AnnotationTTLSecondsAfterFinished is used to store a fallback value for job.spec.ttlSecondsAfterFinished
	AnnotationTTLSecondsAfterFinished = GroupName + `/ttl-seconds-after-finished`

	// AnnotationIncludeInDigest is used to determine parts of the plan to include in the hash for upgrading
	// The value should be a comma-delimited string corresponding to the sections of the plan.
	// For example, a value of "spec.concurrency,spec.upgrade.envs" will include
	// spec.concurrency and spec.upgrade.envs from the plan in the hash to track for upgrades.
	AnnotationIncludeInDigest = GroupName + `/digest`

	// LabelController is the name of the upgrade controller.
	LabelController = GroupName + `/controller`

	// LabelExclusive is set if the plan should not run concurrent with other plans.
	LabelExclusive = GroupName + `/exclusive`

	// LabelNode is the node being upgraded.
	LabelNode = GroupName + `/node`

	// LabelPlan is the plan being applied.
	LabelPlan = GroupName + `/plan`

	// LabelVersion is the version of the plan being applied.
	LabelVersion = GroupName + `/version`

	// LabelPlanSuffix is used for composing labels specific to a plan.
	LabelPlanSuffix = `plan.` + GroupName
)
View Source
const (
	// Package-wide consts from generator "zz_generated_register".
	GroupName = "upgrade.cattle.io"
)

Variables

This section is empty.

Functions

func LabelPlanName

func LabelPlanName(name string) string

Types

This section is empty.

Directories

Path Synopsis
+k8s:deepcopy-gen=package +groupName=upgrade.cattle.io
+k8s:deepcopy-gen=package +groupName=upgrade.cattle.io

Jump to

Keyboard shortcuts

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