identitybackend

package
v1.17.0-pre.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 22 Imported by: 8

Documentation

Index

Constants

View Source
const (
	// HeartBeatAnnotation is an annotation applied by the operator to indicate
	// that a CiliumIdentity has been marked for deletion.
	HeartBeatAnnotation = "io.cilium.heartbeat"
)

Variables

This section is empty.

Functions

func SanitizeK8sLabels added in v1.16.0

func SanitizeK8sLabels(old map[string]string) (selected, skipped map[string]string)

SanitizeK8sLabels strips the 'k8s:' prefix in the labels generated by AllocatorKey.GetAsMap (when the key is k8s labels). In the CRD identity case we map the labels directly to the ciliumidentity CRD instance, and kubernetes does not allow ':' in the name of the label. These labels are not the canonical labels of the identity, but used to ease interaction with the CRD object.

Types

type CRDBackendConfiguration

type CRDBackendConfiguration struct {
	Store   cache.Indexer
	Client  clientset.Interface
	KeyFunc func(map[string]string) allocator.AllocatorKey
}

Jump to

Keyboard shortcuts

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