label

package
v2.1.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 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 (
	// Certificate label identifies certificates in CertConfig CRs.
	Certificate = "giantswarm.io/certificate"
	// Cluster label is a new style label for ClusterID
	Cluster = "giantswarm.io/cluster"
	// 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"
)
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 (
	// AppOperatorVersion sets the version label for app custom resources managed
	// by the operator.
	AppOperatorVersion = "app-operator.giantswarm.io/version"
	// 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 (
	// App is a standard label for tenant resources.
	App = "app"
)
View Source
const (
	// ConfigMapType is a type of configmap used for tenant clusters.
	ConfigMapType = "cluster-operator.giantswarm.io/configmap-type"
)
View Source
const (
	// MasterNodeRole label denotes K8s cluster master node role.
	MasterNodeRole = "node-role.kubernetes.io/master"
)
View Source
const (
	// RandomKey label specifies type of a secret that is used for guest
	// cluster.
	RandomKey = "giantswarm.io/randomkey"
)
View Source
const (
	// RandomKeyTypeEncryption is a type of randomkey secret used for guest
	// cluster.
	RandomKeyTypeEncryption = "encryption"
)
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