Module labels

Module labels 

Source
Expand description

Common label and annotation constants used across all reconcilers.

This module defines standard Kubernetes labels and Bindy-specific labels/annotations to ensure consistency across all resources created by the controller.

Constants§

APP_NAME_BIND9
Application name for BIND9 instances
BINDY_CLUSTER_ANNOTATION
Annotation indicating which Bind9Cluster a DNS record belongs to
BINDY_CLUSTER_LABEL
Label indicating which Bind9Cluster this resource belongs to
BINDY_INSTANCE_ANNOTATION
Annotation indicating which Bind9Instance a DNS record is deployed to
BINDY_INSTANCE_INDEX_ANNOTATION
Annotation indicating the instance index within a cluster (used for scale-down ordering)
BINDY_MANAGED_BY_LABEL
Label indicating which controller manages this resource (Bind9Instance or Bind9Cluster)
BINDY_RECONCILE_TRIGGER_ANNOTATION
Annotation used to trigger reconciliation (value is timestamp)
BINDY_ROLE_LABEL
Label indicating the role of this instance (primary or secondary)
BINDY_ZONE_ANNOTATION
Annotation indicating which DNSZone a DNS record belongs to
COMPONENT_DNS_CLUSTER
Component value for DNS clusters
COMPONENT_DNS_SERVER
Component value for DNS server instances
FINALIZER_BIND9_CLUSTER
Finalizer for Bind9Cluster resources
FINALIZER_BIND9_INSTANCE
Finalizer for Bind9Instance resources
FINALIZER_DNS_ZONE
Finalizer for DNSZone resources
K8S_COMPONENT
Standard label for the component name within the architecture (e.g., “dns-server”, “dns-cluster”)
K8S_INSTANCE
Standard label for a unique name identifying the instance of an application
K8S_MANAGED_BY
Standard label for the tool being used to manage the operation of an application
K8S_NAME
Standard label for the name of the application (e.g., “bind9”)
K8S_PART_OF
Standard label for the name of a higher-level application this one is part of
MANAGED_BY_BIND9_CLUSTER
Value for app.kubernetes.io/managed-by when resource is managed by Bind9Cluster controller
MANAGED_BY_BIND9_INSTANCE
Value for app.kubernetes.io/managed-by when resource is managed by Bind9Instance controller
MANAGED_BY_CLUSTER_BIND9_PROVIDER
Value for app.kubernetes.io/managed-by when resource is managed by ClusterBind9Provider controller
PART_OF_BINDY
Value for app.kubernetes.io/part-of indicating this resource is part of Bindy
ROLE_PRIMARY
Role value for primary DNS instances
ROLE_SECONDARY
Role value for secondary DNS instances