Enterprise Manager Helm values
Configure the Enterprise Manager chart with these Helm values.
This reference lists values declared in the chart's default values.yaml.
Templates can also accept optional settings and inherited global values.
Chart: enterprise-manager. Chart version: 0.31.1. Generated from the
platform source at v0.31.1.
Values
crds
Type: object
Default: {"install":true,"keep":true}
CRD installation (ClusterPlatformRole, ClusterPlatformRoleBinding,
PlatformRoleBinding, ToolHiveAuthorizationPolicy). Rendered as templates so
helm upgrade updates them.
crds.install
Type: bool
Default: true
Render and install the CRDs. Set false when CRDs are managed out of band.
crds.keep
Type: bool
Default: true
Annotate CRDs with helm.sh/resource-policy: keep so they and their custom
resources survive helm uninstall.
replicaCount
Type: int
Default: 1
Number of replicas for the deployment. Ignored when ha.enabled is true.
ha
Type: object
Default value
antiAffinityPreset: soft
enabled: false
podDisruptionBudget:
minAvailable: 1
replicaCount: 2
High availability: replica count, PodDisruptionBudget and pod anti-affinity
together. The chart refuses ha.enabled with fewer than 2 replicas, since a PDB
that cannot be satisfied blocks every node drain.
ha.enabled
Type: bool
Default: false
Enable HA mode: uses ha.replicaCount, creates a PodDisruptionBudget, and
spreads replicas across nodes and zones.
ha.replicaCount
Type: int
Default: 2
Replica count used when ha.enabled is true.
ha.podDisruptionBudget.minAvailable
Type: int
Default: 1
Minimum number of pods that must remain available.
ha.antiAffinityPreset
Type: string
Default: "soft"
Node anti-affinity: soft (preferred) or hard (required). Zone spreading is
always preferred, so a single-zone cluster still schedules.
image.repository
Type: string
Default value
image-proxy.stacklok.com/proxy/stacklok-enterprise/ghcr.io/stacklok/stacklok-enterprise/toolhive-enterprise
Container image repository. Override to use your own mirror.
image.tag
Type: string
Default: ""
Image tag. Empty uses the chart's appVersion.
image.pullPolicy
Type: string
Default: "IfNotPresent"
Image pull policy.
imagePullSecrets
Type: list
Default: []
Extra image pull Secrets for the pod. On Replicated installs the SDK pull secret is added automatically; list only additional registries here.
nameOverride
Type: string
Default: ""
Override the name of the chart.
fullnameOverride
Type: string
Default: ""
Override the full name of the resources.
serviceAccount.create
Type: bool
Default: false
Create a ServiceAccount for the pod.
serviceAccount.automount
Type: bool
Default: false
Automatically mount the ServiceAccount's API credentials.
serviceAccount.annotations
Type: object
Default: {}
Annotations to add to the ServiceAccount.
serviceAccount.name
Type: string
Default: ""
Name of the ServiceAccount to use. When empty and create is true, a name is
generated from the release's full name.
rbac.create
Type: bool
Default: true
Create the ClusterRole and Role bindings Enterprise Manager needs, including the
per-namespace Secret reader Roles for directory issuers. Set false when RBAC
is managed externally. Externally managed RBAC must still grant cluster-wide
list on mcpservers, mcpoidcconfigs and mcpexternalauthconfigs in
toolhive.stacklok.dev, or the directory discovery scan fails or reports every
server's auth requirement as unknown.
podAnnotations
Type: object
Default: {}
Annotations to add to the pod.
podLabels
Type: object
Default: {}
Labels to add to the pod.
podSecurityContext
Type: object
Default value
fsGroup: 65532
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532
seccompProfile:
type: RuntimeDefault
Security context for the pod. Runs as non-root UID 65532.
securityContext
Type: object
Default value
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65532
Security context for the container.
service.type
Type: string
Default: "ClusterIP"
Kubernetes Service type.
service.port
Type: int
Default: 80
Service port for the HTTP API.
service.targetPort
Type: int
Default: 9090
Container port the HTTP API listens on.
service.grpcPort
Type: int
Default: 9091
Service and container port for the shared cleartext gRPC server, which Connector Gateway and AI Gateway call.
grpc
Type: object
Default value
callerAuth:
clusterOidcIssuer: ''
credentialSaSubjectAllowlist: []
gatewaySaSubjectAllowlist: []
httpSaSubjectAllowlist: []
meteringSaSubjectAllowlist: []
saSubjectAllowlist: []
workloadTrustSaSubjectAllowlist: []
insecure: false
networkPolicy:
allowedClientSelector: {}
enabled: false
startupProbe:
enabled: true
failureThreshold: 30
periodSeconds: 2
tls:
duration: 2160h
enabled: false
existingSecret: ''
issuerRef:
kind: ClusterIssuer
name: ''
port: 9443
renewBefore: 720h
targetPort: 9443
Shared gRPC server settings. They apply to every gRPC module on the port, not only the directory.
grpc.startupProbe
Type: object
Default: {"enabled":true,"failureThreshold":30,"periodSeconds":2}
gRPC startup probe on the shared server's health. enabled adds the probe;
periodSeconds and failureThreshold set how often it runs and how many
failures restart the container.
grpc.insecure
Type: bool
Default: false
Skip caller authentication on the gRPC port (development only). Restrict access
with grpc.networkPolicy when enabled.
grpc.callerAuth
Type: object
Default value
clusterOidcIssuer: ''
credentialSaSubjectAllowlist: []
gatewaySaSubjectAllowlist: []
httpSaSubjectAllowlist: []
meteringSaSubjectAllowlist: []
saSubjectAllowlist: []
workloadTrustSaSubjectAllowlist: []
Caller authentication for the shared gRPC port. Each module checks its own audience and allowlist below.
grpc.callerAuth.clusterOidcIssuer
Type: string
Default: ""
Cluster OIDC issuer URL used to verify projected ServiceAccount tokens. Empty
denies every authenticated gRPC call unless grpc.insecure is true.
grpc.callerAuth.saSubjectAllowlist
Type: list
Default: []
ServiceAccount subjects allowed on the general directory.v1 RPCs, such as
system:serviceaccount:<namespace>:<release>-connector-gateway for Connector
Gateway. Empty rejects all callers. Entries are rendered through tpl; empty
results are dropped.
⚠️ With AI Gateway installed, also add its gateway ServiceAccount, or every virtual-key request fails with 503.
grpc.callerAuth.credentialSaSubjectAllowlist
Type: list
Default: []
ServiceAccount subjects allowed to call ResolveSecretRef, which returns
decrypted credentials. Not inherited from saSubjectAllowlist. Empty refuses
only that RPC.
⚠️ Every subject listed here can read credential plaintext. Add Connector
Gateway only when it sources the primary IdP from the Directory catalog. Callers
must also use grpc.tls.
grpc.callerAuth.gatewaySaSubjectAllowlist
Type: list
Default: []
ServiceAccount subjects allowed on the install-wide gateway RPCs
(EnsureConnectorGateway, ListAllConnectors, ListAllIdentityProviders).
Empty refuses only those three.
⚠️ With clusterOidcIssuer set, Connector Gateway must be listed here as well
as in saSubjectAllowlist, or it fails to start.
grpc.callerAuth.workloadTrustSaSubjectAllowlist
Type: list
Default: []
ServiceAccount subjects allowed to call GetWorkloadTrustSnapshot: the AI
Gateway data plane. Entries are rendered through tpl; empty results are
dropped. Empty denies workload credentials.
grpc.callerAuth.meteringSaSubjectAllowlist
Type: list
Default: []
ServiceAccount subjects allowed on the metering.v1 UsageIngest gRPC surface,
such as system:serviceaccount:<namespace>:connector-gateway for Connector
Gateway. Empty rejects all callers unless grpc.insecure is true.
grpc.callerAuth.httpSaSubjectAllowlist
Type: list
Default: []
ServiceAccount subjects allowed on HTTP routes that accept a cluster
ServiceAccount token (audience enterprise-manager), such as the Gateway
connectivity poll. Verified against clusterOidcIssuer. Empty leaves those
routes on customer-IdP auth only.
grpc.tls
Type: object
Default value
duration: 2160h
enabled: false
existingSecret: ''
issuerRef:
kind: ClusterIssuer
name: ''
port: 9443
renewBefore: 720h
targetPort: 9443
Additional TLS gRPC listener alongside the cleartext one. Required by
directory.kek.enabled: ResolveSecretRef refuses non-TLS peers, and a service
mesh does not satisfy that.
grpc.tls.enabled
Type: bool
Default: false
Enable the TLS listener and its supporting Certificate, Service port, containerPort, and volume mount.
grpc.tls.port
Type: int
Default: 9443
Service port for the TLS gRPC listener.
grpc.tls.targetPort
Type: int
Default: 9443
Container port for the TLS listener. Rendered as the named port grpc-tls,
which the NetworkPolicy matches on.
grpc.tls.issuerRef
Type: object
Default: {"kind":"ClusterIssuer","name":""}
cert-manager issuer for the serving certificate, separate from
global.webhooks.issuerRef. Set this or existingSecret; the chart never
generates its own CA.
grpc.tls.issuerRef.name
Type: string
Default: ""
Name of the cert-manager issuer, such as platform-grpc-ca-issuer.
grpc.tls.issuerRef.kind
Type: string
Default: "ClusterIssuer"
ClusterIssuer (recommended) or Issuer. An Issuer must be in the release
namespace.
grpc.tls.existingSecret
Type: string
Default: ""
Existing TLS Secret (tls.crt, tls.key) in the release namespace. Takes
precedence over issuerRef. Its SANs must cover the Service name, and nothing
renews it; rotations are picked up without a restart.
grpc.tls.duration
Type: string
Default: "2160h"
Lifetime of the cert-manager Certificate. Applies only with issuerRef.
grpc.tls.renewBefore
Type: string
Default: "720h"
How long before expiry cert-manager renews the Certificate. Applies only with
issuerRef.
grpc.networkPolicy.enabled
Type: bool
Default: false
Add an ingress NetworkPolicy restricting the gRPC ports to allowed clients.
Required with directory.kek.enabled, and strongly recommended with
grpc.insecure.
grpc.networkPolicy.allowedClientSelector
Type: object
Default: {}
Pod-label selector for permitted gRPC clients, such as
app.kubernetes.io/name: connector-gateway. An empty selector allows no pods.
webhookTLS
Type: object
Default:
{"duration":"2160h","enabled":false,"port":443,"renewBefore":"720h","targetPort":8443}
Additional TLS listener on the HTTP server, used by AI Gateway's budgets webhook and by Connector Gateway's approvals webhook. The plain listener is unaffected.
webhookTLS.enabled
Type: bool
Default: false
Enable the TLS listener and its supporting Certificate, Service port, and volume
mount. Turned on automatically while the approvals experiment
(global.stacklok.experiments.approvals.enabled) is on, which also needs port
to stay 443; the render fails otherwise.
webhookTLS.port
Type: int
Default: 443
Service port for the TLS listener. Must match the port in AI Gateway's
budgets.endpoint.
webhookTLS.targetPort
Type: int
Default: 8443
Container port the in-pod HTTPS listener binds to.
webhookTLS.duration
Type: string
Default: "2160h"
Lifetime of the cert-manager Certificate. The issuer is
global.webhooks.issuerRef.
webhookTLS.renewBefore
Type: string
Default: "720h"
How long before expiry cert-manager renews the Certificate.
webhookAuth
Type: object
Default: {"audience":""}
Webhook caller authentication.
webhookAuth.audience
Type: string
Default: ""
Audience the webhook caller's token must carry. Must match the audience AI Gateway requests for its budgets webhook calls. Empty rejects every webhook call.
resources
Type: object
Default:
{"limits":{"cpu":"2","memory":"1Gi"},"requests":{"cpu":"500m","memory":"512Mi"}}
Resource limits and requests for the container.
livenessProbe
Type: object
Default value
failureThreshold: 3
httpGet:
path: /healthz
port: http
initialDelaySeconds: 0
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
Liveness probe configuration. The /healthz endpoint always returns 200 OK
while the process runs.
readinessProbe
Type: object
Default value
failureThreshold: 3
httpGet:
path: /readyz
port: http
initialDelaySeconds: 0
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
Readiness probe configuration. The /readyz endpoint returns 503 during the
shutdown drain.
terminationGracePeriodSeconds
Type: int
Default: 45
Grace period between SIGTERM and SIGKILL. Must exceed Enterprise Manager's
40-second shutdown window; lowering it can kill the process mid-drain.
idpConfig
Type: object
Default value
additionalIssuers: []
audience: ''
groupsClaim: ''
idpType: ''
redirectUri: ''
requiredScope: ''
rolesClaim: ''
IdP settings for Enterprise Manager. The issuer comes from
global.stacklok.primaryIdp.issuer.
idpConfig.audience
Type: string
Default: ""
Expected JWT audience claim. Required.
idpConfig.requiredScope
Type: string
Default: ""
Required OAuth2 scope (empty string disables scope check; omit to use default "toolhive:config:read")
idpConfig.idpType
Type: string
Default: ""
IdP type override: entra, okta, generic, or empty for auto-detection.
idpConfig.groupsClaim
Type: string
Default: ""
Override the groups claim name.
idpConfig.rolesClaim
Type: string
Default: ""
Override the roles claim name.
idpConfig.redirectUri
Type: string
Default: ""
OIDC redirect URI, such as https://toolhive.company.com/auth/callback.
Enterprise Manager does not use this value.
idpConfig.additionalIssuers
Type: list
Default: []
Additional OIDC issuers whose tokens are also accepted. Each entry requires
issuer and audience. A secondary issuer's groups and roles grant nothing on
the platform admin gate unless a ClusterPlatformRoleBinding condition names that
issuer in its issuer field; a condition without one applies to the primary
issuer only. An entry with the same issuer URI as the primary (a second audience
on the same authority) counts as the primary issuer, so conditions without an
issuer grant its callers too.
signingConfig
Type: object
Default: {"envelopeTTL":"","existingSecret":"","refreshInterval":""}
Signing settings for the configuration envelopes Enterprise Manager serves to clients.
signingConfig.existingSecret
Type: string
Default: ""
Name of an existing Secret holding the PEM-encoded EC P-256 private key under
the key signing.pem. Required: Enterprise Manager refuses to start without a
signing key.
signingConfig.envelopeTTL
Type: string
Default: ""
Envelope time-to-live, as a Go duration such as 24h. Empty uses 24h.
signingConfig.refreshInterval
Type: string
Default: ""
How often clients poll for new configuration, as a Go duration such as 5m.
Empty uses 5m.
resourceURL
Type: string
Default: ""
Canonical URI of this resource server, such as
https://config.platform.example.com, advertised at
/.well-known/oauth-protected-resource. Empty makes that endpoint return 503.
clientID
Type: string
Default: ""
Public (PKCE) OIDC client ID for CLI and desktop clients, advertised at
/.well-known/toolhive-configuration. Empty omits it.
configFile
Type: string
Default: ""
Path to an externally mounted enterprise configuration JSON file. Mutually
exclusive with enterpriseConfig.
enterpriseConfig
Type: object
Default: {}
Organization-wide configuration distributed by Enterprise Manager to clients.
Set directives directly under enterpriseConfig, as in the commented example in
the chart's default values (helm show values). The chart serializes the object
as JSON in a mounted ConfigMap. Use either enterpriseConfig or configFile.
An empty object creates no enterprise configuration ConfigMap.
Each directive has a typed value and a required enforcement field:
enforced makes the value mandatory; default lets clients use their local
settings instead. Omitted directives leave client settings unchanged. The
degraded_mode block has no value or enforcement wrapper.
Directives: registry (registry URLs for the CLI and web console), telemetry
(OpenTelemetry export for ToolHive clients), non_registry_servers (whether the
CLI may create MCP servers outside the approved registry), ca_certificate (a
corporate CA for MCP server containers), build_env (environment variables for
MCP server containers), gateway (the AI Gateway URL the web console uses), and
degraded_mode (CLI behavior when Enterprise Manager is unreachable). Under the
umbrella chart, leave registry.value.server_api_url out: it defaults to the
Registry Server URL, and a set value that differs fails the render. Set
telemetry.value.sampling_rate explicitly; omitted, it resolves to zero on
clients.
Helm passes this object through without validating its fields. Enterprise
Manager validates field names, types, enforcement values, and degraded-mode
policy and duration at startup. Changes to this object trigger a rollout to load
the configuration. All callers receive the organization-wide values; the
targets field is accepted but is not evaluated. Store only non-sensitive
values here: the entire object is in a ConfigMap.
appConfig
Type: object
Default: {}
Enterprise Manager's runtime configuration, for settings this chart has no
dedicated value for. The object is deep-merged over the configuration the chart
builds from the other values; keys set here win. The result is stored in a
ConfigMap, and a change rolls the pods. Never put secrets here: the chart
refuses database passwords, which come from the existingSecret values.
For example, budgets.disconnectLimit caps the cancelled streams one user or
service account may produce per period. mode is observe (the default), which
logs and counts the would-be refusals, or enforce, which refuses with 429 at
max. period is day, week (from Monday), month (the default) or year,
in UTC. max defaults to 500, and 0 fails startup. retentionPeriods
defaults to 3.
database
Type: object
Default value
admin:
existingSecret: ''
existingSecretKey: postgres-admin-password
user: ''
caBundleRef: {}
dynamicAuth: {}
existingSecret: ''
existingSecretKey: postgres-password
host: ''
maxConns: 0
migration:
existingSecret: ''
existingSecretKey: postgres-migration-password
user: ''
name: ''
port: 0
sslMode: ''
user: ''
PostgreSQL configuration for the directory and other persistent modules.
Connection fields (host, port, sslMode, caBundleRef, dynamicAuth) and
the app password Secret fall back to global.postgres. The database name, the
roles (user, migration.user, admin.user), and the migration and admin
credentials must be set here.
database.host
Type: string
Default: ""
PostgreSQL host. Falls back to global.postgres.host. With neither set,
database-backed modules are skipped.
database.port
Type: int
Default: 0
PostgreSQL port. 0 uses global.postgres.port, otherwise 5432.
database.name
Type: string
Default: ""
Name of the Enterprise Manager database. Does not fall back to
global.postgres.
database.user
Type: string
Default: ""
Application database role. Must be a non-superuser without BYPASSRLS, distinct
from migration.user; otherwise row-level security is silently void and users
can read each other's data.
database.sslMode
Type: string
Default: ""
PostgreSQL SSL mode. Falls back to global.postgres.sslMode.
database.caBundleRef
Type: object
Default: {}
CA bundle that verifies the Postgres server certificate, for a server signed by
a private CA (a corporate CA, AWS RDS). Falls back to
global.postgres.caBundleRef. Exactly one of secretRef: {name: ...} or
configMapRef: {name: ...}, plus key beside it (default ca.crt). Mounted
under /etc/enterprise-manager/postgres-ca and named by PGSSLROOTCERT; use
sslMode verify-full to check the host name too. Restart the pods after
rotating the bundle's contents in place.
database.maxConns
Type: int
Default: 0
Per-pod ceiling on the shared app connection pool. 0 allows one per CPU of
resources.limits.cpu, rounded up, at least 4 and at most 16. With no CPU limit
it counts the node's CPUs instead, so it is 16 on a node with 16 or more. The
maintenance and admin pools add up to 2 each. A rolling update runs 25% more
pods (rounded up, so at least one), so keep
(replicas + surge pods) x (maxConns + 4) under the server's max_connections.
database.existingSecret
Type: string
Default: ""
Secret holding the app role's password under existingSecretKey. Falls back to
global.postgres.existingSecret.
database.existingSecretKey
Type: string
Default: "postgres-password"
Key within existingSecret holding the app role's password.
database.dynamicAuth
Type: object
Default: {}
AWS RDS IAM authentication instead of existingSecret, for the app, migration
and admin roles. Falls back to global.postgres.dynamicAuth. Set
awsRdsIam.region to the database's AWS region; prefer an explicit region,
since detect makes the instance metadata service a startup dependency. Each
role needs GRANT rds_iam.
database.migration.user
Type: string
Default: ""
Database role that runs schema migrations. Must differ from user. Empty uses
user, which leaves row-level security void.
database.migration.existingSecret
Type: string
Default: ""
Secret holding the migration role's password under existingSecretKey.
database.migration.existingSecretKey
Type: string
Default: "postgres-migration-password"
Key within migration.existingSecret holding the password.
database.admin
Type: object
Default:
{"existingSecret":"","existingSecretKey":"postgres-admin-password","user":""}
BYPASSRLS role for the directory's cross-user reads and connector deletion.
Without it those return errors (deleting a connector answers 503). The
migration role needs SUPERUSER or CREATEROLE to grant BYPASSRLS; on
managed Postgres, run ALTER ROLE <admin_user> BYPASSRLS beforehand.
database.admin.user
Type: string
Default: ""
Database role with BYPASSRLS.
database.admin.existingSecret
Type: string
Default: ""
Secret holding the admin role's password under existingSecretKey.
database.admin.existingSecretKey
Type: string
Default: "postgres-admin-password"
Key within admin.existingSecret holding the password.
telemetry
Type: object
Default value
otlp:
enabled: false
endpoint: ''
insecure: false
loggingEnabled: false
tracingEnabled: false
OTLP push, in addition to Prometheus on :8080/metrics. Combines with
global.stacklok.telemetry.otlp: the local endpoint wins, and each boolean is
true if either side is true.
telemetry.otlp.enabled
Type: bool
Default: false
Enable the OTLP metrics push reader.
telemetry.otlp.endpoint
Type: string
Default: ""
OTLP collector endpoint as host:port, such as otel-collector:4318. Required
when any OTLP signal is enabled.
telemetry.otlp.insecure
Type: bool
Default: false
Use a plaintext (non-TLS) connection to the collector.
telemetry.otlp.tracingEnabled
Type: bool
Default: false
Push traces to the OTLP collector.
telemetry.otlp.loggingEnabled
Type: bool
Default: false
Push logs to the OTLP collector, in addition to stderr.
defaultRoles.install
Type: bool
Default: true
Seed the built-in reader and writer ClusterPlatformRoles at startup. While
true, a deleted built-in role is recreated on restart; set false to manage
roles via GitOps.
admissionGuard.enabled
Type: bool
Default: true
Deploy the ValidatingAdmissionPolicy that requires the bind verb on each
ClusterPlatformRole a PlatformRoleBinding references. Requires Kubernetes 1.30
or later; on older clusters the guard is silently not installed.
budgets
Type: object
Default value
classifier:
allowInsecureTLS: false
baseURL: ''
caBundle:
key: ca.crt
secretName: ''
contextWindowTokens: 0
existingSecret: ''
existingSecretKey: classifier-api-key
instruction: ''
model: ''
taxonomy: []
Budgets module settings.
budgets.classifier
Type: object
Default value
allowInsecureTLS: false
baseURL: ''
caBundle:
key: ca.crt
secretName: ''
contextWindowTokens: 0
existingSecret: ''
existingSecretKey: classifier-api-key
instruction: ''
model: ''
taxonomy: []
Conversation classifier, which labels captured conversations by calling this
platform's own AI Gateway. Enabled only when
global.stacklok.experiments.insightsClassification.enabled is true and both
baseURL and existingSecret are set. When enabled, instruction and
taxonomy are required; the render fails without them.
budgets.classifier.baseURL
Type: string
Default: ""
Base URL of this platform's AI Gateway, including the version segment, such as
http://ai-gateway-v2.<namespace>.svc.cluster.local/v1. An https:// URL
usually needs caBundle.
budgets.classifier.model
Type: string
Default: ""
Model ID sent on every call. Empty uses google/gemini-3-flash-preview.
Whichever model applies must exactly match a model in AI Gateway's
model-to-provider routes.
budgets.classifier.contextWindowTokens
Type: int
Default: 0
Input token budget for model. Set it when the gateway's catalog has no context
window for the model, or the classifier stays off.
budgets.classifier.existingSecret
Type: string
Default: ""
Pre-created Secret holding the classifier's full virtual key (slk_...).
budgets.classifier.existingSecretKey
Type: string
Default: "classifier-api-key"
Key within existingSecret holding the virtual key.
budgets.classifier.caBundle
Type: object
Default: {"key":"ca.crt","secretName":""}
CA that issued the gateway's certificate, for an https:// baseURL that
system roots cannot verify. Mounted only when the classifier is enabled. A
rotated CA needs a pod restart.
budgets.classifier.caBundle.secretName
Type: string
Default: ""
Name of an existing Secret holding the issuing CA in PEM form.
budgets.classifier.caBundle.key
Type: string
Default: "ca.crt"
Key within secretName holding the CA.
budgets.classifier.allowInsecureTLS
Type: bool
Default: false
Skip TLS verification of baseURL. Development and testing only: the classifier
sends whole conversations, so an unverified peer can exfiltrate them.
budgets.classifier.instruction
Type: string
Default: ""
Instruction every classifier prompt starts with. The conversation is appended
below it and is untrusted, so state that it is data to classify and never
instructions. The chart's default values (helm show values) include an
example.
budgets.classifier.taxonomy
Type: list
Default: []
Free-form list of facets, each with a closed set of labels. Each entry has a
facet name and a labels list whose items carry a name and a gloss that
tells the model when the label applies. Every facet must include an unknown
label. An invalid taxonomy refuses startup even while the classifier is
disabled.
insights
Type: object
Default: {"freezeDeadline":""}
Insights settings: how the labelled spend history is kept. A UTC day is frozen into the cold history once its spend is rebuilt and every conversation in it has a final label, or at the deadline below, so history outlives the event retention without waiting on a classifier that is down.
insights.freezeDeadline
Type: string
Default: ""
How long after a UTC day closes it is frozen whatever its classification state,
as a Go duration. Empty applies the default, 72h. A value above 168h, or
above the spend retention (appConfig.budgets.retentionWeeks, 4 weeks by
default) minus three days, is reduced to that limit with a warning at startup.
directory
Type: object
Default value
connectorGateway:
controlPlaneUrl: ''
gatewayId: ''
timeout: ''
tokenAudience: connector-gateway-internal
tokenExpirationSeconds: 600
url: ''
connectorVerification:
enabled: true
enabled: false
hmac:
existingSecret: ''
existingSecretKey: hmac-key
issuers: []
kek:
enabled: false
existingSecret: ''
existingSecretKey: kek
externallyManagedNetworkPolicy: false
externallyManagedRBAC: false
generate: false
kubernetesSecretRefs:
allowed: []
oktaReconcilers: []
scimExternalBaseURL: ''
Directory service: provisions users and groups from SCIM 2.0 IdPs.
directory.enabled
Type: bool
Default: false
Enable the directory service.
directory.scimExternalBaseURL
Type: string
Default: ""
External HTTPS base URL used in SCIM Location headers and member $ref
values, such as https://platform.company.com. Set it whenever issuers are
configured; empty yields relative URIs.
directory.connectorGateway
Type: object
Default value
controlPlaneUrl: ''
gatewayId: ''
timeout: ''
tokenAudience: connector-gateway-internal
tokenExpirationSeconds: 600
url: ''
Connector Gateway endpoints used to refresh a Connector's tool list. Derived
automatically in an umbrella install. With no gateway and both URLs empty,
refresh answers 503. The gateway must accept this pod's token audience and
ServiceAccount subject.
directory.connectorGateway.url
Type: string
Default: ""
Origin of Connector Gateway's internal API, such as
http://<release>-connector-gateway-internal.<namespace>.svc:8091. Also used to
revoke upstream tokens when a Connection is deleted. Set it explicitly if the
gateway's name overrides or internalApi.port are non-default.
directory.connectorGateway.gatewayId
Type: string
Default: ""
ID of the Connector Gateway that url points to. Empty uses
global.stacklok.connectorGatewayId; with url set and neither, the chart
refuses to render.
directory.connectorGateway.controlPlaneUrl
Type: string
Default: ""
Origin of Connector Gateway's control-plane API, such as
http://<release>-connector-gateway-control-plane.<namespace>:8090. Used to
list tools for per-user Connectors. Set it explicitly if the gateway's name
overrides or controlPlane.port are non-default.
directory.connectorGateway.tokenAudience
Type: string
Default: "connector-gateway-internal"
aud claim of the projected token. Must equal the Connector Gateway chart's
internalApi.audience.
directory.connectorGateway.tokenExpirationSeconds
Type: int
Default: 600
Lifetime of the projected token, in seconds.
directory.connectorGateway.timeout
Type: string
Default: ""
Per-call timeout, as a Go duration. Empty uses 20s.
directory.connectorVerification
Type: object
Default: {"enabled":true}
Connector verification: before marking a go-live Connector write available,
Enterprise Manager dials the Connector's endpoint over TCP. enabled (default
true) turns verification on; it requires egress and DNS from the Enterprise
Manager pod to every Connector endpoint. Disabling it also removes the dial-time
private-address deny-list for Connectors with allowPrivateIps, and does not
re-evaluate Connectors already marked failed. Two optional keys are not set by
default: dialTimeout, a Go duration (empty uses 5s), and
allowedPrivateRanges, a list of private CIDRs the verification dial may reach.
Every address in allowedPrivateRanges becomes probeable by any Admin, so keep
ranges narrow. Never add loopback; link-local and metadata ranges refuse
startup.
directory.issuers
Type: list
Default: []
SCIM issuers, one per IdP. Validated at startup; a malformed entry stops the
startup. Changes roll the Deployment. Each entry sets id (a URL-safe path
segment, [a-zA-Z0-9._-]+), issuer_url (the OIDC discovery base URL, HTTPS
only), audience (the expected aud claim in admin tokens), binding_claim
(the JWT claim carrying the stable user ID), provisioning_attribute (the SCIM
attribute written at provisioning time, default externalId),
scim_bearer_token_ref (the namespace, name and key of a Kubernetes
Secret holding the SCIM static bearer token), and optionally group_variables
(SCIM user attributes to create UserGroups from, each a bare attribute path or a
path with a label). A Microsoft Entra ID v2.0 issuer
(login.microsoftonline.com, .us or login.partner.microsoftonline.cn) must
set binding_claim: oid. Any other value, OID included, fails the render and
the directory's startup. In Entra, map objectId to externalId in the app's
SCIM attribute mappings, or every user provisioned with binding_claim: oid is
refused. group_variables creates one UserGroup per distinct (case-insensitive)
value. There is no cardinality cap, and groups of a removed variable are deleted
90 days later along with their budgets and grants.
directory.oktaReconcilers
Type: list
Default: []
Outbound Okta reconcilers, one per issuer, replacing inbound SCIM. The issuer
must omit scim_bearer_token_ref and use binding_claim: uid with the default
provisioning_attribute. Okta needs a private_key_jwt service app
(okta.apps.read, okta.groups.read, okta.schemas.read, okta.users.read)
and a custom admin role covering the app and selected groups.
Each entry sets enabled, issuerID (the issuer's id), orgURL (the Okta
org origin, HTTPS with no path, which may differ from the issuer URL), appID
(the application whose assigned users are the full population), clientID, and
privateKeySecretRef (the namespace and name of a Secret, with
privateKeyKey and keyIDKey naming the keys that hold the private key and its
key ID). Optional fields: interval (default 15m, minimum 1m),
maxDeactivationRatio (the largest fraction of active users one cycle may
deactivate; defaults to 0.10, and 1 disables the check),
allowEmptyPopulation (allow an empty population while active users exist),
logRawOktaAPIData (debugging only: logs identity and profile data for the
whole population), and selectedGroups (Okta groups to project, by id or
exact name, with an optional expectedName that fails the cycle if the group
was renamed).
directory.kubernetesSecretRefs
Type: object
Default: {"allowed":[]}
Kubernetes Secrets a Connector or identity provider credential may reference.
Each entry admits a namespace, optionally limited to names. Set entries under
allowed, each with a namespace and an optional names list. Requires
directory.kek.enabled, and the release namespace is refused. Each namespace
must exist before install.
⚠️ Every Platform Admin can read any allowlisted Secret, so use whole-namespace entries only for dedicated namespaces.
directory.hmac
Type: object
Default: {"existingSecret":"","existingSecretKey":"hmac-key"}
HMAC key used to hash virtual API keys. With existingSecret empty, Enterprise
Manager creates the Secret <release>-directory-hmac itself. To bring your own,
set existingSecret to a Secret whose existingSecretKey holds a key of at
least 32 bytes.
⚠️ Switching between a generated and your own Secret, or changing
existingSecret, after keys are issued invalidates every existing virtual key.
directory.kek
Type: object
Default value
enabled: false
existingSecret: ''
existingSecretKey: kek
externallyManagedNetworkPolicy: false
externallyManagedRBAC: false
generate: false
Key-encryption key (KEK) for stored directory credentials. Off by default; KEK-dependent features refuse while it is off. The Secret value is a JSON map of version to base64 32-byte key; the highest version is active and is loaded on pod restart.
directory.kek.enabled
Type: bool
Default: false
Render the KEK Secret, its reader Role, and the reference to it in Enterprise
Manager's configuration. Requires exactly one of existingSecret or generate.
directory.kek.existingSecret
Type: string
Default: ""
Existing KEK Secret in the release namespace. Required for Argo CD and other
helm template | kubectl apply pipelines.
directory.kek.generate
Type: bool
Default: false
Have the chart generate a version-1 key on first install. ⚠️ Under
render-and-apply GitOps every sync generates a new key and makes stored
credentials unreadable; use existingSecret there. Never delete the Secret to
rotate; add a new version.
directory.kek.existingSecretKey
Type: string
Default: "kek"
Key within the KEK Secret holding the version map. Applies in both modes.
directory.kek.externallyManagedRBAC
Type: bool
Default: false
Set when rbac.create is false and get on the KEK Secret is granted out of
band. Without that grant the pod fails to start.
directory.kek.externallyManagedNetworkPolicy
Type: bool
Default: false
Set when grpc.networkPolicy.enabled is false and gRPC ingress is restricted
another way. It only silences the render check.
nodeSelector
Type: object
Default: {}
Node labels for pod assignment.
tolerations
Type: list
Default: []
Tolerations for pod assignment.
affinity
Type: object
Default: {}
Affinity rules for pod assignment.
extraEnv
Type: list
Default: []
Additional environment variables for the container.
trustedCABundle
Type: object
Default: {}
Extra PEM CA bundle trusted in addition to system roots, such as for an IdP
behind a private CA. Set exactly one of configMapRef or secretRef, each with
a name and a key; an unreadable or empty bundle stops startup. For a
private-CA primary IdP, set this as well as
global.stacklok.primaryIdp.caBundleRef, which this chart does not read.
extraVolumes
Type: list
Default: []
Additional volumes to attach to the pod.
extraVolumeMounts
Type: list
Default: []
Additional volume mounts for the container. Names must match a volume.
global
Type: object
Default: {"webhooks":{"issuerRef":{"kind":"ClusterIssuer","name":""}}}
Platform-wide values; the umbrella chart overrides them.
global.webhooks.issuerRef
Type: object
Default: {"kind":"ClusterIssuer","name":""}
cert-manager issuer for the budgets webhook serving certificate. Required while
the TLS listener is on (webhookTLS.enabled, or the approvals experiment). Must
be the CA AI Gateway trusts through global.webhooks.caBundleSecret.
global.webhooks.issuerRef.name
Type: string
Default: ""
Name of the cert-manager issuer, such as platform-webhook-ca-issuer.
global.webhooks.issuerRef.kind
Type: string
Default: "ClusterIssuer"
ClusterIssuer (recommended) or Issuer. An Issuer must exist in every
namespace with an AI Gateway install as well as the release namespace.