Skip to content

Operator configuration

Controller flags and their exact defaults are captured from the operator's real --help output.

One dash or two makes no difference. The table shows the single-dash spelling because that is how Go's flag package prints and reports flags, and other pages write --enable-kernel-evidence. The parser accepts both forms identically: --enable-kernel-evidence=x and -enable-kernel-evidence=x produce the same invalid boolean value "x" for -enable-kernel-evidence error. Neither spelling is more correct.

Two different defaults can apply to the same flag. The Default column below is the binary's default -- what you get running the controller with no arguments. The Helm chart renders its own fixed argument list, so where a chart value exists it decides, and its default may differ. -enable-dashboard is the one that catches people out: the binary defaults it off, the chart's dashboard.enabled defaults it on, and a chart install therefore runs the managed dashboard. See the Helm reference for the values and their defaults.

A flag the chart never renders cannot be set on the documented install path. The chart has no extraArgs, so the Via chart column is the whole story: chart value means some value in values.yaml renders this flag; always on means the chart hardcodes it and no value changes it; no means the chart never passes it, and reaching it requires patching the Deployment after install -- which helm upgrade then reverts. See Limitations.

Command-line flags

Flag Type Default Via chart Description
-caller-coverage-ignore-namespace value chart value Namespace whose host-network pods are taken not to call workloads, so they leave a Service's caller coverage complete (repeatable). kube-system and the other cluster namespaces and the node agent's are always ignored.
-dashboard-allow-anonymous bool chart value Serve the dashboard without sign-in when neither an issuer nor token sign-in is set; everyone who reaches it reads what its ServiceAccount reads.
-dashboard-cpu-limit string chart value CPU limit for the dashboard container. Empty uses the built-in default.
-dashboard-cpu-request string chart value CPU request for the dashboard container. Empty uses the built-in default.
-dashboard-delivery-namespace string chart value Namespace Pacto delivery runs in, whose published identity policy the dashboard reads; empty means pacto-delivery.
-dashboard-delivery-trust-configmap string chart value ConfigMap in the operator namespace holding the trust config the dashboard verifies delivery records with, so History reads signed records.
-dashboard-delivery-trust-key string trust.yaml chart value Key of the trust config in that ConfigMap.
-dashboard-external-catalog string chart value Organization external catalog the dashboard merges over Pacto's default, as oci://REPOSITORY@sha256:DIGEST.
-dashboard-fingerprints-configmap string chart value ConfigMap in the operator namespace holding the workload manager and promoter fingerprints (fingerprints.yaml) the dashboard reads as --fingerprints.
-dashboard-memory-limit string chart value Memory limit for the dashboard container. Empty uses the built-in default.
-dashboard-memory-request string chart value Memory request for the dashboard container. Empty uses the built-in default.
-dashboard-mira-url string chart value Mira's address, to link the dashboard's health-check citations.
-dashboard-oci-secrets string chart value Optional: comma-separated list of Secret names in the operator namespace for OCI registry credentials. Supports Opaque (registry + token, or registry + username + password) and kubernetes.io/dockerconfigjson secrets; later Secrets override earlier ones for the same registry.
-dashboard-oidc-ca-configmap string chart value ConfigMap in the operator namespace holding the PEM bundle of the CAs that sign the issuer's certificate.
-dashboard-oidc-ca-key string ca.crt chart value Key of the PEM bundle in that ConfigMap or Secret.
-dashboard-oidc-ca-secret string chart value Secret in the operator namespace holding that PEM bundle, instead of a ConfigMap.
-dashboard-oidc-client-id string chart value The dashboard's OpenID Connect client id.
-dashboard-oidc-client-secret-key string client-secret chart value Key of the client secret in that Secret.
-dashboard-oidc-client-secret-name string chart value Secret in the operator namespace holding the client secret, passed to the dashboard by secretKeyRef.
-dashboard-oidc-display-name string chart value The identity provider's name on the dashboard's sign-in button, as in Sign in with Keycloak (empty: OIDC).
-dashboard-oidc-extra-scopes string chart value Comma-separated scopes beyond openid, profile and groups.
-dashboard-oidc-groups-claim string chart value ID token claim the API server takes the groups from; must match its claim mapping (empty: groups).
-dashboard-oidc-groups-prefix string chart value Prefix the API server puts before every group; must match its claim mapping.
-dashboard-oidc-internal-issuer-url string chart value Where the dashboard reaches the issuer when it differs from the public issuer URL browsers use, such as an in-cluster Service; ID tokens must still name the public issuer.
-dashboard-oidc-issuer-url string chart value OpenID Connect issuer people sign in to the dashboard with. Every view and action then runs with each person's own token and RBAC; the delivery views need sign-in.
-dashboard-oidc-redirect-url string chart value The dashboard's /auth/callback as browsers reach it; TLS must terminate in front of it.
-dashboard-oidc-username-claim string chart value ID token claim the API server takes the username from; must match its claim mapping (empty: sub).
-dashboard-oidc-username-prefix string chart value Prefix the API server puts before the username; must match its claim mapping (empty: the issuer URL and #; - for none).
-dashboard-owner-policy-configmap string chart value Immutable ConfigMap in the operator namespace holding the owner policy (policy.json) the dashboard mounts.
-dashboard-repositories value chart value Comma-separated oci:// references the dashboard reads beside the contracts it discovers from Pacto resources, such as golden paths, which are never deployed.
-dashboard-session-idle-timeout duration chart value A dashboard session without a request for this long ends (0: 1h).
-dashboard-session-max-age duration chart value A dashboard session ends this long after sign-in, renewed or not (0: 12h).
-dashboard-stats-registry string chart value Stats repository the dashboard's Metrics page reads run records from, with the dashboard's OCI credentials; empty: the page explains how to turn recording on.
-dashboard-token-login bool chart value Let people sign in to the dashboard with a Kubernetes token; a ServiceAccount token minted for the pacto-dashboard audience reads the fleet only, and a person's own token acts as them.
-dashboard-trace-source value chart value Repeatable: an offline OTLP/JSON trace file to mount read-only into the dashboard, as name=NAME,file=RELATIVE_PATH,existingClaim=PVC (or configMap=NAME). NAME is the stable Data Source identity. Configures offline input only; Pacto runs no OTLP receiver.
-enable-dashboard bool chart value Enable the managed Pacto dashboard deployment. Disabled by default.
-enable-evidence-server bool chart value Enable the managed Pacto Evidence Server deployment. Disabled by default.
-enable-http2 bool no If set, HTTP/2 will be enabled for the metrics server
-enable-kernel-evidence bool chart value Merge the node agent's kernel observations (NodeRuntimeObservation objects) into interface and dependency evidence. Off by default; when off, evidence comes from the Kubernetes API only.
-enable-metrics-observation =mode chart value Metrics observation (discovery and active probe), written =mode: on, off or auto. auto observes metrics only in namespaces labelled pacto.trianalab.io/observe with metrics. The bare flag means on. Off by default; when off, metrics read Unsupported.
-enable-node-agent bool chart value Enable the managed node agent DaemonSet, which observes TCP socket state with eBPF on every node and publishes it as NodeRuntimeObservation objects. Disabled by default.
-enable-probing =mode chart value Active in-cluster probing (health endpoints over HTTP and each present interface's wire protocol), written =mode: on, off or auto. auto probes only in namespaces labelled pacto.trianalab.io/observe with probing. The bare flag means on. Off by default; when off, health uses passive readiness-probe and EndpointSlice signals only and interface protocols read unverified.
-evidence-cpu-limit string chart value CPU limit for the Evidence Server container. Empty uses the built-in default.
-evidence-cpu-request string chart value CPU request for the Evidence Server container. Empty uses the built-in default.
-evidence-credentials-secret string chart value Optional: name of an existing kubernetes.io/dockerconfigjson Secret with contract-registry credentials, mounted read-only. Empty means anonymous or in-cluster registry access.
-evidence-memory-limit string chart value Memory limit for the Evidence Server container. Empty uses the built-in default.
-evidence-memory-request string chart value Memory request for the Evidence Server container. Empty uses the built-in default.
-evidence-subject value chart value Repeatable: an exact contract revision evidence is stored on, as oci://<repo>@sha256:<digest>. The registry holding it is the durable evidence store: accepted records are published as OCI 1.1 referrers of that manifest. At least one is required when the Evidence Server is enabled.
-evidence-trust-config-key string chart value Optional: key of the trust Secret holding a structured trust config (pacto.dev/evidence-trust/v1, a .yaml key). Set it to grant per-key allowlists such as ResourceProvisioned. Empty trusts every *.pub key in the Secret.
-evidence-trust-secret string chart value Name of a Secret of trusted producer public keys, mounted read-only. Required when the Evidence Server is enabled.
-health-probe-bind-address string :8081 always on The address the probe endpoint binds to.
-interface-name-match-discovery bool chart value Enable resolving an unbound interface's Service port by matching a Service port whose name equals the interface name (positive availability assist only; never produces an absent or error result).
-kernel-evidence-namespace string chart value Namespace the node agent publishes NodeRuntimeObservation objects and heartbeat Leases to. Empty uses --node-agent-namespace.
-kernel-evidence-staleness duration chart value How old a node's heartbeat (its Lease renewal, or the observation's lastPublished without a Lease) may be before its evidence reads stale. 0 uses three times the publish interval the node agent reports.
-kubeconfig string no Paths to a kubeconfig. Only required if out-of-cluster.
-leader-elect bool chart value Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.
-metrics-bind-address string :8080 chart value The address the metrics endpoint binds to. Use :8443 for HTTPS or :8080 for HTTP, or set to 0 to disable the metrics service.
-metrics-cert-key string tls.key no The name of the metrics server key file.
-metrics-cert-name string tls.crt no The name of the metrics server certificate file.
-metrics-cert-path string no The directory that contains the metrics server certificate.
-metrics-secure bool chart value If set, the metrics endpoint is served securely via HTTPS. Use --metrics-secure=true to enable HTTPS.
-node-agent-cpu-limit string chart value CPU limit for the node agent container. Empty uses the built-in default.
-node-agent-cpu-request string chart value CPU request for the node agent container. Empty uses the built-in default.
-node-agent-image string chart value Image the node agent runs pacto agent from. Empty uses the dashboard image this binary was built with, the runtime image the Evidence Server runs too.
-node-agent-image-pull-secret value chart value Secret the node agent's ServiceAccount pulls its image with (repeatable).
-node-agent-memory-limit string chart value Memory limit for the node agent container. Empty uses the built-in default.
-node-agent-memory-request string chart value Memory request for the node agent container. Empty uses the built-in default.
-node-agent-namespace string pacto-node-agent always on Dedicated namespace the node agent runs and publishes in. The operator labels it privileged for Pod Security, so it must not be the operator namespace.
-node-agent-publish-interval duration 30s chart value How often each node agent publishes its node's NodeRuntimeObservation.
-owner-policy string chart value File holding the owner policy (policy.json from the chart's declare block): who may set a service owner. Published in the target snapshot; empty publishes none.
-publishers-default-branch string main chart value The default branch whose CI the derived publisher rule accepts.
-publishers-policy string chart value The signed delivery policy's tag reference (delivery.publishers.policy): once verified, its publisher rules replace the derived rule and its signer class rules classify who signed an owner change, as the fleet does.
-publishers-policy-signers string always on A trust config (YAML) whose role: policy keys sign the delivery policy. Required with --publishers-policy.
-publishers-registry string chart value The registry (host/org) the installation's services publish to: its derived publisher rule (the organization's CI on the default branch) is the only CI identity whose signed CODEOWNERS or catalog-info.yaml owner counts as attested when an owner change is judged. Empty: no owner is attested.
-registry string chart value The installation registry (host/path): Pacto publishes the target snapshot and inferred contracts under it and pushes nowhere else; empty turns those features off.
-registry-pull-secret string chart value namespace/name of the Secret that authenticates to the installation registry; used only under the push prefixes.
-registry-push-prefix value chart value Repeatable: a repository prefix a Pacto component may push under; the chart renders every one.
-stabilization-window duration 2m0s chart value The stabilization window duration for compliance assertions before they trigger a false condition. Assertions must remain unsatisfied for this entire window before being considered a failure.
-trusted-root string chart value File holding a Sigstore trusted root (trusted_root.json) that the signatures of an owner change must chain to. Empty fetches public-good Sigstore's root through TUF, caching nothing on disk.
-version bool no Print version information and exit.
-watch-namespace string no Deprecated: use --watch-namespaces. Merged into the --watch-namespaces list.
-watch-namespaces string chart value Restrict the controller and the managed dashboard to these namespaces (comma-separated). Empty (default) means cluster-wide.
-zap-devel bool no Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn). Production Mode defaults(encoder=jsonEncoder,logLevel=Info,stackTraceLevel=Error)
-zap-encoder value no Zap log encoding (one of 'json' or 'console')
-zap-log-level value no Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', 'panic' or any integer value > 0 which corresponds to custom debug levels of increasing verbosity
-zap-stacktrace-level value no Zap Level at and above which stacktraces are captured (one of 'info', 'error', 'panic').
-zap-time-encoding value no Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'). Defaults to 'epoch'.

Environment variables

Read directly by the controller entrypoint (cmd/main.go), typically wired through the downward API in the chart's Deployment.

Variable Purpose
OPERATOR_DEPLOYMENT_NAME Operator Deployment name, used to set ownerReferences on dashboard resources.
OPERATOR_SERVICE_ACCOUNT Operator ServiceAccount name, written as the publisher the target snapshot claims.
POD_NAMESPACE Namespace the operator (and its managed dashboard) runs in. Required.