labels

package
v2.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ODHAppPrefix      = "app.opendatahub.io"
	InjectTrustCA     = "config.openshift.io/inject-trusted-cabundle"
	SecurityEnforce   = "pod-security.kubernetes.io/enforce"
	ClusterMonitoring = "openshift.io/cluster-monitoring"
)

Variables

View Source
var K8SCommon = struct {
	PartOf string
}{
	PartOf: "app.kubernetes.io/part-of",
}

K8SCommon keeps common kubernetes labels [1] used across the project. [1] (https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels)

View Source
var ODH = struct {
	OwnedNamespace string
	Component      func(string) string
}{
	OwnedNamespace: "opendatahub.io/generated-namespace",
	Component: func(name string) string {
		return ODHAppPrefix + "/" + name
	},
}

ODH holds Open Data Hub specific labels grouped by types.

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