Skip to content

Helm values

The chart installs the CRDs, the operator and the gateway. Every value has a default; most installs only set the credentials and maybe vault.

Terminal window
helm install leash leash/leash -n leash-system --create-namespace \
--set gateway.credentials.existingSecret=leash-gateway-credentials

Image

Value Default
image.repository ghcr.io/simplyzee/leash One image for both components
image.tag the chart’s appVersion
image.pullPolicy IfNotPresent
imagePullSecrets []
commonLabels {} Added to every resource

Operator

Value Default
controller.replicas 1
controller.leaderElect true Needed when replicas > 1
controller.networkBackend auto auto, cilium or kubernetes
controller.clusterDomain cluster.local
controller.logLevel info
controller.extraArgs, extraEnv []
controller.resources 10m CPU, 64Mi request, 128Mi limit
controller.podAnnotations, podLabels, nodeSelector, tolerations, affinity empty
controller.serviceAccount.annotations {}

Vault

Value Default
vault.enabled false Turns on AgentIdentity
vault.address "" For example https://vault.vault.svc:8200
vault.authMount kubernetes The mount the operator logs in with
vault.role leash The role the operator logs in as
vault.extraEnv, extraVolumes, extraVolumeMounts [] For VAULT_CACERT, VAULT_NAMESPACE and a CA bundle

Gateway

Value Default
gateway.enabled true
gateway.replicas 2 Replicas share budgets and AgentRuns
gateway.podDisruptionBudget.maxUnavailable 1 Created when replicas > 1
gateway.topologySpreadConstraints [] A soft spread across nodes when empty
gateway.port 8080 The agents’ port
gateway.metricsPort 9090
gateway.usageFlushInterval 15s How often tokens are written to policy status
gateway.approvalPollInterval 2s How often a held call checks its ToolApproval
gateway.logLevel info
gateway.config.providers Anthropic and OpenAI See Configuring providers
gateway.config.mcpServers {}
gateway.credentials.existingSecret "" Recommended: a Secret with provider keys and Slack settings
gateway.credentials.values {} Or let the chart make the Secret
gateway.service.type ClusterIP
gateway.extraArgs, extraEnv []
gateway.resources 50m CPU, 128Mi request, 512Mi limit

Slack

Value Default
gateway.slack.interactive false Serve Approve and Deny buttons
gateway.slack.port 8082 Kept apart from the agents’ port
gateway.slack.approvers [] Slack user IDs allowed to decide. Empty: anyone in the channel
gateway.slack.ingress.enabled false Routes only /slack/interactions
gateway.slack.ingress.className, host, annotations, tls empty

Audit

Value Default
audit.log true JSON audit lines on stdout
audit.runRetention 168h How long a Completed AgentRun is kept
audit.grafanaDashboard.enabled false Ship the dashboard as a ConfigMap
audit.grafanaDashboard.namespace release namespace
audit.grafanaDashboard.labels grafana_dashboard: "1" What the Grafana sidecar looks for
audit.grafanaDashboard.annotations {} For example grafana_folder: Leash

Security

Both components run as non-root with a read-only root filesystem, no privilege escalation, all capabilities dropped and the RuntimeDefault seccomp profile (podSecurityContext and securityContext).