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 NewCRDBackend ¶
func NewCRDBackend(c CRDBackendConfiguration) (allocator.Backend, error)
func SanitizeK8sLabels ¶ added in v1.16.0
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 ¶
Click to show internal directories.
Click to hide internal directories.