Configuration
Installation shape comes from Helm values. Anything a person changes while running it lives in the console, so a policy edit is not a redeploy.
An upgrade may be run with helm upgrade --reuse-values, which keeps the values you installed with and does not merge in the new chart's defaults. Every setting added since your installed version then takes the default documented here, so the flag is supported across versions — see Upgrade.
Identity and scale
| Value | Default | What it does |
|---|---|---|
clusterName | "" | Names this installation in notifications and evidence. Never a hostname — nothing topological leaves the cluster. |
replicaCount | 2 | Webhook replicas, spread by anti-affinity. One serves, two survive a node. |
scanner.replicas | 1 | Scan workers. Raising this with a ReadWriteOnce cache is refused at install. |
image.repository | ghcr.io/attestkeep/attestkeep-k8s | Point at your mirror for an air-gapped install. |
image.tag | chart appVersion |
Database
| Value | Default | What it does |
|---|---|---|
postgresql.enabled | true | Install a PostgreSQL alongside. Turn off to use your own (PostgreSQL 13 or later from 1.4.0). |
postgresql.persistence.size | 20Gi | |
postgresql.auth.password | "" | Generated when empty. |
externalDsnExistingSecret.name | "" | Preferred for an external database. |
externalDsn | "" | A DSN inline. Avoid: it lands in your Helm release history and stays there. |
Scanning
| Value | Default | What it does |
|---|---|---|
scan.workers | 2 | Concurrent scans per scanner pod. |
scan.timeout | 10m | Per scan. |
scan.rescanInterval | 24h | How often a known digest is re-evaluated against a refreshed database. |
scan.insecureRegistries | [] | Registries served over plain HTTP. Must be named — silently downgrading a connection is not a decision a security tool makes for you. |
scan.cosignOffline | false | Verify against the key and skip the transparency log. See air-gapped for what that costs. |
kev.source | CISA's catalogue URL | Where the Known Exploited Vulnerabilities catalogue is fetched from, on the same six-hour cadence as the vulnerability database. A path or a file:// URL reads a mirror inside the perimeter instead; kev.existingConfigMap below mounts one. An empty string refreshes nothing: the stored catalogue stays exactly as it is and findings keep being marked against it. What admission does about a marked finding is the policy's choice: spec.knownExploited. |
kev.existingConfigMap | "" | The name of a ConfigMap in the release namespace holding a mirrored copy of the catalogue, mounted read-only at /etc/kev on the scanner. The copy has to be gzipped: a ConfigMap holds at most 1 MiB and the published catalogue is 1.7 MB, which the API server refuses outright; gzipped it is under 200 KB. Point kev.source at file:///etc/kev/<key>, the key being the name of the file the ConfigMap was created from — gzip -k known_exploited_vulnerabilities.json and kubectl -n attestkeep create configmap kev-catalog --from-file=known_exploited_vulnerabilities.json.gz is read as file:///etc/kev/known_exploited_vulnerabilities.json.gz. The scanner decides whether a file is compressed by its first two bytes, not its name. Empty mounts nothing. |
reconcile.interval | 1h | How often what is actually running — each container's observed imageID — is reconciled against the admission ledger, catching workloads that entered before the install, during an outage, or under failurePolicy: Ignore. 0 disables the sweep. What a finding does is the policy's choice: spec.runtimeReconciliation. |
rbac.allowEnforce | false | Whether the operator may evict pods at all. Enforcement is armed with two keys: the policy chooses enforce, this grants the pods/eviction permission it needs. An audit-only install carries no eviction right. |
rbac.denyList.takedown | false | Whether an administrator may take down a running workload a deny-list entry catches. When true the operator may also evict pods (pods/eviction) and read and update deployments/scale, statefulsets/scale and replicasets/scale. That eviction grant serves take down only: a runtime policy's Stop the pod and runtimeReconciliation: enforce still need rbac.allowEnforce. Nothing is taken down on its own; see the deny list. |
binscanLimits | "" | The caps of the deny list's executable check, as size=256Mi,files=4000,time=60s (the built-in caps, which empty keeps): an executable larger than size is hashed but not read for versions, an image is read up to files executables, and the walk after the pull stops at time. A check a cap stopped is "not checked", never clean. Each key is optional; see the deny list. |
scan.binscanTimeout | 10m | The deadline of one deny-list executable check (pull, walk and version match), apart from scan.timeout, which is the vulnerability scan's. A check that runs past it is "not checked (limit)" and names this value. |
scan.tmpSizeLimit | 4Gi | The size limit of the scanner's /tmp. The executable check downloads one image's compressed layers there per running check and removes them afterwards; past the limit the kubelet evicts the scanner pod instead of filling the node's disk. |
scan.binscanDiskBudget | "" | The most compressed layer bytes one executable check downloads. Empty: scan.tmpSizeLimit shared by the workers, less 256 MiB for an executable read while it is checked (4Gi and two workers: 1792Mi). An image larger than the budget is not downloaded and reads "not checked (limit)", "image larger than the check's disk budget". |
denyListWhatIfLimits | "" | Advanced. How much of the cluster one What if of a deny-list entry reads before it stops and says its answer is partial, as deadline=20s,pods=20000,digests=2000 (the built-in bounds, which empty keeps). Each key is optional. Lowering them shows on a small cluster the partial answer a large one gives; raising them makes a What if hold the API longer. |
Admission
See Admission — webhook.failurePolicy and webhook.coldImagePolicy are posture decisions rather than tuning, and they are explained there rather than listed here.
Runtime events (Falco)
Attestkeep does not ship, install or run Falco, and never writes to it. Your own Falco sends its alerts to the operator over mutual TLS, from its own http_output or through Falcosidekick (integrations.falco.connection): the operator issues a client certificate and accepts events only from it. An event never changes an admission decision; a runtime policy can send it on, open an issue and stop the pod it came from. The Falco side, the certificates and what the events then do are on Runtime events.
| Value | Default | What it does |
|---|---|---|
integrations.falco.enabled | false | Turns the integration on: the integrations listener, the Falco client CA and client certificate (Secret <release>-falco-mtls), and the console's Falco section. Off, there is no listener and no CA. |
integrations.port | 8444 | The TLS port Falco posts to, on the pod and the Service. It requires a client certificate from the Falco CA and serves only POST /api/v1/integrations/falco. Only used when the integration is on. |
runtime.retentionDays | 90 | Every event is stored; stored events older than this are removed hourly. Only events — issue history, audit entries and rule revisions stay. 0 keeps them. |
runtime.rulesPublish.caBundle | "" | PEM certificates trusted beside the system roots when the Falco rule editor publishes a rules file to your registry. Empty: the system roots only. See below. |
What an event leads to is not a chart value: it is decided by the runtime rules written in the console's Falco section. integrations.falco.existingSecret and integrations.falco.minPriority from earlier releases are no longer read.
A private CA for publishing rules files
Publish in the Falco rule editor pushes a rules file to your OCI registry and trusts the system roots. A registry whose certificate is signed by a private CA is refused with a certificate error (x509: certificate signed by unknown authority) until its CA is in runtime.rulesPublish.caBundle. Set it from a file:
helm upgrade attestkeep oci://ghcr.io/attestkeep/charts/attestkeep \
-n attestkeep -f values.yaml \
--set-file runtime.rulesPublish.caBundle=ca.crt
- Only the client that publishes rules files reads it. Image scanning, Validate with Falco, the licence client (which has
license.caBundle), SIEM destinations and notification channels keep their own trust. - The system roots stay trusted, so a registry with a publicly trusted certificate is reached as before. Certificate verification stays on.
- A value without a PEM certificate (
-----BEGIN CERTIFICATE-----) is refused when the chart renders. - The chart renders it into the ConfigMap
<release>-rules-publish-caand mounts it into the operator. Like everyhelm upgradeof the chart, changing it restarts the operator pods. - The file is read at every publish. If it cannot be read or holds no certificate, nothing is published to any registry until it is fixed: Publish answers with a message that names
runtime.rulesPublish.caBundle, and the operator logs the same at start. - Without the value, Publish reaches a registry with a publicly trusted certificate, or a host listed in
scan.insecureRegistriesover plain HTTP. The scanner reaches a host on that list over plain HTTP too.
Falco pulls the file through falcoctl, which needs to trust the same CA. That is Falco chart configuration: see Runtime events.
Licence
| Value | Default | What it does |
|---|---|---|
license.existingCertificateSecret | "" | Name of a Secret holding an offline certificate under the key certificate, for installs that never open the console. The operator reads it at start and activates from it if it holds no certificate, or if this one runs later than the one it holds, so a Secret left behind after a console renewal is ignored. The certificate comes from the licence page at attestkeep.com, issued against an activation request this cluster produced, so it is valid for this cluster and no other. Empty everywhere else: activation is a console screen, not a chart value. See offline activation. |
license.caBundle | "" | PEM certificates the licence client trusts beside the system roots, for a TLS-intercepting proxy on the route to license.serverUrl or a licence server under a private CA. Rendered into a ConfigMap and mounted into the operator; certificate verification stays on. A value with no PEM certificate is refused when the chart renders. Set it with --set-file license.caBundle=ca.pem. Without it, activation against a private-CA endpoint fails with "The licence server could not be reached: its certificate is not trusted, or the connection failed." in the console. |
nodes.pollInterval | 5m | How often the operator counts the cluster's Ready nodes against the licence's node ceiling. The count stays in the cluster. |
nodes.graceDays | 14 | Days the cluster may stay over its node ceiling before image names never seen this period are denied at admission; everything already counted keeps running. Neither value loosens the ceiling, which is in the certificate. See the node ceiling. |
The data key
The key that encrypts the credentials this installation stores for you — today the issue-tracker tokens that can open and close issues in your own GitHub, GitLab or Jira. Those tokens live in the product database, so without this key a backup or a dump handed to support would carry a working write credential for your forge.
| Value | Default | What it does |
|---|---|---|
api.dataKey.existingSecret.name | "" | Empty means the chart generates <release>-data-key on first install and preserves it across upgrades. Point this at your own Secret to supply the key from a secret manager instead. |
api.dataKey.existingSecret.key | data-key | The key inside that Secret. |
kubectl -n attestkeep create secret generic attestkeep-data-key \
--from-literal=data-key="$(openssl rand -hex 32)"
It is never written into the product database — a key stored beside the data it protects is not a key — and there is no database fallback: with no key, saving an issue-tracker channel is refused rather than storing the token in the clear, and nothing else about the product changes. Re-keying is not offered in this version; if you replace the key, the credentials already stored cannot be opened and each tracker channel needs its token entered again. Back the Secret up with everything else on Backup and restore.
Observability
Metrics are exposed in Prometheus format on the operator's metrics port, and labelled series are created at zero on start-up so a dashboard is not empty until the first event. OTLP export is available and is always additional: if the collector is unreachable, nothing about scanning or admission changes.
OpenTelemetry export switches on the moment a collector is named, and not before. Traces cover the admission path — the span is what answers "why did that pod take four seconds" — metrics mirror the Prometheus set, and logs travel with their attestkeep.log/v1 schema version.
| Value | Default | What it does |
|---|---|---|
observability.otlp.endpoint | empty | The collector, e.g. http://otel-collector.observability.svc:4317. Empty means no OTLP export at all. |
observability.otlp.protocol | grpc | grpc or http/protobuf. |
observability.otlp.insecure | true | Plain connection, for a collector on the cluster's own network. Set false the moment the endpoint leaves it. |
observability.otlp.headers | empty | key=value pairs, comma-separated — how a hosted collector takes its API key. |
observability.traces.enabled | true | Traces, once an endpoint exists. |
observability.traces.sampleRatio | 0.1 | A tenth of admission reviews. Admission runs on every pod in the cluster; a full trace of each is a bill rather than a signal. |
observability.metrics.enabled | true | Metrics over OTLP, once an endpoint exists. The Prometheus port stays either way. |
observability.metrics.intervalMillis | 30000 | Export interval, in milliseconds because the OpenTelemetry specification defines it that way. |
observability.logs.enabled | true | Logs over OTLP, once an endpoint exists. Stdout keeps its copy regardless. |
The same knobs answer to their standard environment names (OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_TRACES_SAMPLER_ARG, OTEL_METRIC_EXPORT_INTERVAL, …) for an installation that configures collectors outside Helm.
The log level is a runtime control in the console, not a deployment setting. Turning up logging to diagnose something should not require a rollout.
What lives in the console instead
- Policies, and the exceptions to them, with an owner and an expiry.
- Notification destinations.
- Users and single sign-on.
- Log level.
- Evidence packages.
The dividing line: a Helm value describes how the installation is shaped, and everything a person changes while operating it belongs where they can change it without a deploy.