Module constants

Module constants 

Source
Expand description

Global constants for the Bindy operator.

This module contains all numeric and string constants used throughout the codebase. Constants are organized by category for easy maintenance.

Constantsยง

ANNOTATION_ZONE_OWNER
Annotation key for marking which zone owns a DNS record
ANNOTATION_ZONE_PREVIOUS_OWNER
Annotation key for marking which zone previously owned a record
API_GROUP
API group for all Bindy DNS CRDs
API_GROUP_VERSION
Fully qualified API version (group/version)
API_VERSION
API version for all Bindy DNS CRDs
BIND9_SERVICE_ACCOUNT
ServiceAccount name for BIND9 pods
BINDCAR_API_PORT
Default bindcar HTTP API port
DEFAULT_BIND9_VERSION
Default BIND9 version tag
DEFAULT_BINDCAR_IMAGE
Default bindcar sidecar container image
DEFAULT_DNS_RECORD_TTL_SECS
Default TTL for DNS records (5 minutes)
DEFAULT_LEASE_DURATION_SECS
Default leader election lease duration (15 seconds)
DEFAULT_LEASE_RENEW_DEADLINE_SECS
Default leader election renew deadline (10 seconds)
DEFAULT_LEASE_RETRY_PERIOD_SECS
Default leader election retry period (2 seconds)
DEFAULT_SOA_EXPIRE_SECS
Default SOA expire time (7 days)
DEFAULT_SOA_NEGATIVE_TTL_SECS
Default SOA negative TTL (1 day)
DEFAULT_SOA_REFRESH_SECS
Default SOA refresh interval (1 hour)
DEFAULT_SOA_RETRY_SECS
Default SOA retry interval (10 minutes)
DEFAULT_ZONE_TTL_SECS
Default TTL for zone files (1 hour)
DNS_PORT
Standard DNS port for queries and zone transfers
ERROR_REQUEUE_DURATION_SECS
Requeue duration for controller errors (30 seconds)
KIND_AAAA_RECORD
Kind name for AAAARecord resource
KIND_A_RECORD
Kind name for ARecord resource
KIND_BIND9_CLUSTER
Kind name for Bind9Cluster resource
KIND_BIND9_INSTANCE
Kind name for Bind9Instance resource
KIND_CAA_RECORD
Kind name for CAARecord resource
KIND_CLUSTER_BIND9_PROVIDER
Kind name for ClusterBind9Provider resource
KIND_CNAME_RECORD
Kind name for CNAMERecord resource
KIND_DNS_ZONE
Kind name for DNSZone resource
KIND_MX_RECORD
Kind name for MXRecord resource
KIND_NS_RECORD
Kind name for NSRecord resource
KIND_SRV_RECORD
Kind name for SRVRecord resource
KIND_TXT_RECORD
Kind name for TXTRecord resource
LIVENESS_FAILURE_THRESHOLD
Liveness probe failure threshold
LIVENESS_INITIAL_DELAY_SECS
Liveness probe initial delay (wait for BIND9 to start)
LIVENESS_PERIOD_SECS
Liveness probe period (how often to check)
LIVENESS_TIMEOUT_SECS
Liveness probe timeout
MAX_TEST_REPLICAS
Maximum reasonable number of replicas for testing
METRICS_SERVER_BIND_ADDRESS
Bind address for metrics HTTP server
METRICS_SERVER_PATH
Path for Prometheus metrics endpoint
METRICS_SERVER_PORT
Port for Prometheus metrics HTTP server
MIN_TEST_REPLICAS
Minimum number of replicas for testing
READINESS_FAILURE_THRESHOLD
Readiness probe failure threshold
READINESS_INITIAL_DELAY_SECS
Readiness probe initial delay
READINESS_PERIOD_SECS
Readiness probe period
READINESS_TIMEOUT_SECS
Readiness probe timeout
RNDC_PORT
Standard RNDC control port
TOKIO_WORKER_THREADS
Number of worker threads for Tokio runtime
TSIG_FUDGE_TIME_SECS
TSIG fudge time in seconds (allows for clock skew)