cocoon-webhook is configured entirely through environment variables.
| Variable | Default | Description |
|---|---|---|
KUBECONFIG |
unset | Path to kubeconfig when running outside the cluster (in-cluster config used otherwise) |
WEBHOOK_LOG_LEVEL |
info |
projecteru2/core/log level |
TLS_CERT |
/etc/cocoon/webhook/certs/tls.crt |
TLS server certificate |
TLS_KEY |
/etc/cocoon/webhook/certs/tls.key |
TLS server private key |
LISTEN_ADDR |
:8443 |
Admission listener (HTTPS) |
METRICS_ADDR |
:9090 |
Prometheus listener (HTTP) |