Expand description
CLI argument parsing for the bindcar binary.
bindcar supports two operating modes selected via subcommand:
-
run(default) — sidecar mode: runs alongside a local BIND9 instance inside a Kubernetes pod, communicating over shared volumes and local RNDC. -
drone— standalone mode: runs as an independent process on a bare-metal or VM host, managing a remote BIND9 instance. Authentication is performed via the Kubernetes TokenReview API using explicit credentials (KUBE_API_SERVER,KUBE_TOKEN_PATH,KUBE_CA_CERT_PATH).
When no subcommand is given, run is the default, preserving backwards compatibility
for existing deployments and process supervisors that call bindcar directly.
Structs§
- Cli
- bindcar — HTTP REST API for managing BIND9 zones via RNDC
Enums§
- Commands
- bindcar operating modes