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
Bind9Clustera DNS record belongs to - BINDY_
CLUSTER_ LABEL - Label indicating which
Bind9Clusterthis resource belongs to - BINDY_
INSTANCE_ ANNOTATION - Annotation indicating which
Bind9Instancea 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 (
Bind9InstanceorBind9Cluster) - 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
DNSZonea 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
Bind9Clusterresources - FINALIZER_
BIND9_ INSTANCE - Finalizer for
Bind9Instanceresources - FINALIZER_
DNS_ ZONE - Finalizer for
DNSZoneresources - 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-bywhen resource is managed byBind9Clustercontroller - MANAGED_
BY_ BIND9_ INSTANCE - Value for
app.kubernetes.io/managed-bywhen resource is managed byBind9Instancecontroller - MANAGED_
BY_ CLUSTER_ BIND9_ PROVIDER - Value for
app.kubernetes.io/managed-bywhen resource is managed byClusterBind9Providercontroller - PART_
OF_ BINDY - Value for
app.kubernetes.io/part-ofindicating this resource is part of Bindy - ROLE_
PRIMARY - Role value for primary DNS instances
- ROLE_
SECONDARY - Role value for secondary DNS instances