Version v0.4 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.

Operator CLI Flags

Command-line flags and environment variables for the operator manager.

The operator manager binary accepts the following command-line flags. When deployed via Helm, these are configured through the chart values and passed as container arguments.

Flags

Core

FlagDefaultDescription
--metrics-bind-address0Address for the metrics endpoint. Use :8443 for HTTPS or 0 to disable.
--health-probe-bind-address:8081Address for the health and readiness probe endpoint.
--leader-electfalseEnable leader election for controller manager. Required for running multiple replicas.
--operator-name(none)Helm release name. When set, the operator creates Istio ServiceEntry and DestinationRule prerequisites at startup.

TLS Certificates

FlagDefaultDescription
--metrics-cert-path(none)Directory containing the metrics server TLS certificate.
--metrics-cert-nametls.crtFilename of the metrics certificate.
--metrics-cert-keytls.keyFilename of the metrics private key.

RuleSet Cache

FlagDefaultDescription
--cache-gc-interval5mHow often to check for and remove stale cache entries.
--cache-max-age24hMaximum age before a cache entry is considered stale.
--cache-max-size104857600 (100 MB)Maximum total size of all cached rules in bytes.
--cache-server-port18080Port for the RuleSet cache HTTP server.
--envoy-cluster-name(required)Envoy cluster name pointing to the cache server.

Istio Integration

FlagDefaultDescription
--istio-revision(none)Istio revision label value for managed Istio resources.
--default-wasm-imageBuilt-in defaultOCI reference for the Coraza WASM plugin used when an Engine omits the image field. Can also be set via the CORAZA_DEFAULT_WASM_IMAGE environment variable.

Environment Variables

VariableRequiredDescription
POD_NAMESPACEYesThe namespace in which the operator is running. Typically set via the Kubernetes downward API.
CORAZA_DEFAULT_WASM_IMAGENoOverride the default WASM plugin OCI image. Equivalent to --default-wasm-image.

Logging

The operator uses Zap via controller-runtime. Logging behavior is controlled through Helm values rather than direct CLI flags:

Helm ValueEffect
logging.developmentEnables console encoder with debug level.
logging.encoderSets the log encoding format (json or console).
logging.levelSets the minimum log level (debug, info, error).
logging.stacktraceLevelSets the minimum level for stack traces.
logging.timeEncodingSets the timestamp format.