labels

package
v3.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelPrefix is the string used at the beginning of KIC-specific labels.
	LabelPrefix = annotations.AnnotationPrefix

	// CredentialKey is the key used to indicate a Secret's credential type.
	CredentialKey = "/credential" //nolint:gosec

	// ValidateKey is the key used to indicate a Secret contains plugin configuration.
	ValidateKey = "/validate"

	// ManagedByKey is the key to indicate the contoller that manages the object.
	ManagedByKey = "/managed-by"

	// CredentialTypeLabel is the label used to indicate a Secret's credential type.
	CredentialTypeLabel = LabelPrefix + CredentialKey

	// ValidateLabel is applied to plugins used for plugin configuration to allow the admission webhook to check
	// updates to them.
	ValidateLabel = LabelPrefix + ValidateKey

	// ManagedByLabel is the label key to mark that the object is managed by a specific controller.
	ManagedByLabel = LabelPrefix + ManagedByKey
	// ManagedByLabelValueIngressController is the label value that marks the object is managed by KIC.
	ManagedByLabelValueIngressController = "kong-ingress-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidateType added in v3.2.0

type ValidateType string

ValidateType indicates the type of validation applied to a Secret.

const (
	// PluginValidate indicates a labeled Secret's contents require plugin configuration validation.
	PluginValidate ValidateType = "plugin"
)

Jump to

Keyboard shortcuts

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