label

package
v3.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package label contains common Kubernetes metadata. These are defined in https://github.com/giantswarm/fmt/blob/master/kubernetes/annotations_and_labels.md.

Index

Constants

View Source
const (
	// ConfigMapTypeApp is a label value for app configmaps managed by the
	// operator.
	ConfigMapTypeApp = "app"
	// ConfigMapTypeUser is a label value for user configmaps created by the
	// operator and edited by users to override chart values.
	ConfigMapTypeUser = "user"
)
View Source
const (
	// MasterNodeRole label denotes K8s cluster master node role.
	MasterNodeRole = "node-role.kubernetes.io/master"
	// WorkerNodeRole label denotes K8s cluster worker node role.
	WorkerNodeRole = "node-role.kubernetes.io/worker"
)
View Source
const (
	// Certificate label identifies certificates in CertConfig CRs.
	Certificate = "giantswarm.io/certificate"
	// Cluster label is a new style label for ClusterID
	Cluster = "giantswarm.io/cluster"
	// ControlPlane label denotes which control plane corresponding resources belong to.
	ControlPlane = "giantswarm.io/control-plane"
	// MachineDeployment label denotes which node pool corresponding resources
	// belongs.
	MachineDeployment = "giantswarm.io/machine-deployment"
	// ManagedBy label denotes which operator manages corresponding resource.
	ManagedBy = "giantswarm.io/managed-by"
	// Organization label denotes guest cluster's organization ID as displayed
	// in the front-end.
	Organization = "giantswarm.io/organization"
	// Release conveys the Giant Swarm release version.
	Release = "release.giantswarm.io/version"
)
View Source
const (
	// LegacyClusterID is an old style label for ClusterID
	LegacyClusterID = "clusterID"
	// LegacyClusterKey is an old style label to specify type of a secret that
	// is used for guest cluster. This is replaced by RandomKey.
	LegacyClusterKey = "clusterKey"
	// LegacyComponent is an old style label to identify which component a
	// specific CertConfig belongs to.
	LegacyComponent = "clusterComponent"
)
View Source
const (
	// Provider is a label specifying a Giant Swarm Provider.
	Provider = "giantswarm.io/provider"
	// ProviderAWS label specifies format for AWS provider ID.
	ProviderAWS = "aws"
	// ProviderAzure label specifies format for Azure provider ID.
	ProviderAzure = "azure"
	// ProviderKVM label specifies format for KVM provider ID.
	ProviderKVM = "kvm"
)
View Source
const (
	// ServiceTypeManaged is a label value for managed resources.
	ServiceTypeManaged = "managed"
	// ServiceTypeSystem is a label value for system resources.
	ServiceTypeSystem = "system"
)
View Source
const (
	// CertOperatorVersion sets the version label for CertConfig CRs managed by
	// cert-operator.
	CertOperatorVersion = "cert-operator.giantswarm.io/version"
	// OperatorVersion label transports the operator version requested to be used
	// when reconciling the observed runtime object.
	OperatorVersion = "cluster-operator.giantswarm.io/version"
	// ReleaseVersion is a label specifying a tenant cluster release version.
	ReleaseVersion = "release.giantswarm.io/version"
)
View Source
const (
	// AppOperatorWatching is the label added to configmaps by app-operator when
	// it is watching for values changes.
	AppOperatorWatching = "app-operator.giantswarm.io/watching"
)
View Source
const (
	// ConfigMapType is a type of configmap used for tenant clusters.
	ConfigMapType = "cluster-operator.giantswarm.io/configmap-type"
)
View Source
const (
	// ServiceType is a standard label for guest resources.
	ServiceType = "giantswarm.io/service-type"
)

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