Configuration

The adept runs as adept controller. The manifests in config/ start it with --leader-elect and set POD_NAMESPACE from the pod’s namespace.

Flag Default Description

--metrics-bind-address

:8080

The address the metrics endpoint binds to.

--metrics-secure

true

Serve the metrics endpoint via HTTPS. --metrics-secure=false uses HTTP.

--metrics-cert-path

The directory that contains the metrics server certificate. Empty generates a self-signed one.

--metrics-cert-name

tls.crt

The name of the metrics server certificate file.

--metrics-cert-key

tls.key

The name of the metrics server key file.

--health-probe-bind-address

:8081

The address the health and readiness probes bind to.

--leader-elect

false

Enable leader election, so only one controller manager is active.

--controller-namespace

$POD_NAMESPACE, else default

The namespace the controller runs in.

--enable-webhooks

true

Serve the MaintenanceWindow validating webhook. false runs without certificates, for example against a cluster from your host.

--webhook-cert-path

The directory that contains the webhook certificate.

--webhook-cert-name

tls.crt

The name of the webhook certificate file.

--webhook-cert-key

tls.key

The name of the webhook key file.

The --zap-* flags of controller-runtime set the log output, for example --zap-log-level=debug or --zap-devel.