Helm Values Reference
Two Helm charts deploy AlmaForge on Kubernetes:
almaforge: Installs the control plane server (colocated Auth and Proxy services, external LoadBalancer, and storage backends).almaforge-agent: Installs an in-cluster agent to discover and connect Kubernetes clusters, internal applications, and databases.
To inspect the full list of default values directly from the Helm CLI:
helm repo add almaforge https://get.almaforge.com/helmhelm repo update almaforgehelm show values almaforge/almaforgehelm show values almaforge/almaforge-agentFor installation guides, see Cluster on Kubernetes for the cluster chart and Kubernetes Access for the agent chart.
Cluster chart (almaforge)
Deployment shape and images
| Value | Default | Description |
|---|---|---|
replicaCount | null | Number of cluster replicas. null automatically selects 3 replicas for HA. |
image.repository | quay.io/almaforge/almaforge | Container image repository for almad. |
image.tag | "" | Container image tag. When empty, defaults to the chart's appVersion. |
image.pullPolicy | IfNotPresent | Image pull policy (Always, IfNotPresent, or Never). |
imagePullSecrets | [] | Secret names for pulling images from a private registry (see Air-gapped Deployment). |
nameOverride | "" | Overrides the application name in app.kubernetes.io/name. |
fullnameOverride | "" | Overrides the full resource name prefix. Set before the first install because resource names identify retained PVCs and state Secrets. |
Configuration and drop-ins
AlmaForge on Kubernetes uses the exact same configuration surfaces as a host deployment: environment variables and declarative resource drop-ins.
| Value | Default | Description |
|---|---|---|
env | see below | Environment variables passed to almad. Quote every value as a string. Set a key to null to unset a default. |
envFrom | [] | Existing Secrets and ConfigMaps mounted as environment variables (secretRef or configMapRef). Explicit env keys take precedence. |
configs | {} | Declarative resource drop-ins keyed by filename (for example StorageConfig or OIDCConnector). Mounted at /etc/almaforge/almad.d with mode 0440. |
Environment variables (env and envFrom)
The cluster control plane binary almad reads its operational configuration directly from standard environment variables:
- Supported Variables: See the Environment Configuration Reference for every variable recognized by
almad, includingALMA_ADVERTISE,ALMA_STATE_URI,ALMA_RECORDINGS_URI,ALMA_DEBUG, and OpenTelemetryOTEL_*variables. - Chart-Managed Variables:
ALMA_LISTEN(pod port8443),ALMA_DIAG_LISTEN(port3000), andALMA_METRICS_LISTEN(port3081) are managed automatically by the chart and cannot be overridden inenv. - Public Endpoint: Always set
env.ALMA_ADVERTISEto your cluster's public domain and port (for examplealmaforge.example.com:443). - Loading Secrets with
envFrom: Avoid storing sensitive credentials (like IdP client secrets or token signatures) in Helm values. Instead, keep them in a Kubernetes Secret and mount them into the environment usingenvFrom:
envFrom:
- secretRef:
name: almaforge-idp-credentials
Declarative resource drop-ins (configs)
The chart renders drop-in YAML manifests into a ConfigMap mounted at /etc/almaforge/almad.d (/etc/almaforge/almad.d/) with mode 0440. The daemon monitors this directory and loads resources at bootstrap or whenever the ConfigMap updates:
- Supported Resource Kinds: See Declarative Configuration for complete schema documentation, including:
OIDCConnector: IdP Single Sign-On connectors and claim mappings (see OIDC SSO).StorageConfig: Enterprise storage configurations for cluster state, audit events, or session recordings.RoleandUser: RBAC permission policies (see Access Controls).KubernetesTarget,AppTarget,DatabaseTarget: Registered target infrastructure.
- Secret Interpolation (
${env:VARIABLE}): Drop-in manifests underconfigscan reference environment variables injected viaenvorenvFromusing${env:VARIABLE}placeholders. The daemon evaluates these placeholders at runtime without exposing credentials in the ConfigMap or Helm release history:
configs:
oidc.yaml: |
apiVersion: almaforge.com/v1
kind: OIDCConnector
metadata:
name: okta
spec:
issuerURL: https://example.okta.com
clientID: ${env:OIDC_CLIENT_ID}
clientSecret: ${env:OIDC_CLIENT_SECRET}
Service and TLS
| Value | Default | Description |
|---|---|---|
service.type | LoadBalancer | Kubernetes Service type (LoadBalancer, NodePort, or ClusterIP). Forwards TCP/443 to each pod's 8443 listener. |
service.annotations | {} | Service annotations, such as cloud load balancer configuration. |
service.externalTrafficPolicy | "" | Set to Local to preserve client source IPs when supported by your load balancer. |
service.loadBalancerClass | "" | Optional LoadBalancerClass name for cloud controllers. |
tls.secretName | "" | Existing kubernetes.io/tls Secret containing the public Proxy certificate and key. |
tls.cert, tls.key | "" | Certificate and private key passed directly as files (e.g. via --set-file). |
A TLS certificate is required: set integrations.certManager.external.issuerName to issue certificates via cert-manager, or reference an existing certificate with tls.secretName or tls.cert/tls.key.
Cloud Load Balancer presets
For AWS EKS Network Load Balancer (NLB) using the AWS Load Balancer Controller:
service:
type: LoadBalancer
externalTrafficPolicy: Local
annotations:
service.beta.kubernetes.io/aws-load-balancer-type: "external"
service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: "ip"
service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
For GCP GKE container-native L4 regional network load balancing:
service:
type: LoadBalancer
externalTrafficPolicy: Local
annotations:
cloud.google.com/l4-rbs: "enabled"
For Azure AKS:
service:
type: LoadBalancer
externalTrafficPolicy: Local
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true" # internal VNet only
Bundled storage backends
The chart bundles in-cluster storage backends by default so you can run an HA cluster without external cloud dependencies:
etcd (cluster state)
| Value | Default | Description |
|---|---|---|
integrations.etcd.enabled | true | Run a bundled etcd StatefulSet for cluster state. Set false when providing external state storage. |
integrations.etcd.replicaCount | 3 | Odd member count (3 provides a quorum of 2). Membership is fixed at bootstrap, and an upgrade that changes this value is refused. |
integrations.etcd.prefix | /almaforge/ | Key prefix for cluster state in etcd. |
integrations.etcd.image.repository, .tag | registry.k8s.io/etcd:3.6.4-0 | Container image for bundled etcd. |
integrations.etcd.persistence.size | 1Gi | PersistentVolume size per etcd member. |
integrations.etcd.persistence.storageClass | null | StorageClass for etcd PVCs (null uses the cluster default). |
integrations.etcd.tls.existingSecret | "" | Existing Secret containing ca.crt, tls.crt, and tls.key for internal etcd mTLS. |
integrations.etcd.podDisruptionBudget.enabled | null | Automatically enables a PDB (maxUnavailable: 1) when replicaCount > 1. |
integrations.etcd.affinity | {} | Scheduling constraints (defaults to preferred host anti-affinity between members). |
integrations.etcd.resources | 100m CPU, 256Mi memory | Resource requests and limits for each etcd pod. |
integrations.etcd.podSecurityContext | UID 65532 | Pod security context adhering to restricted PSS. |
S3 shim (session recordings)
| Value | Default | Description |
|---|---|---|
integrations.s3shim.enabled | true | Run an in-cluster S3 gateway (Versity Gateway) backed by a PersistentVolume for session recordings. |
integrations.s3shim.image.repository, .tag | docker.io/versity/versitygw:v1.11.0 | Container image for the S3 gateway. |
integrations.s3shim.bucket | almaforge-recordings | S3 bucket name created on the PersistentVolume. |
integrations.s3shim.path | records | Prefix path for session recording objects. |
integrations.s3shim.persistence.size | 50Gi | PersistentVolume size for recordings. Size for your retention requirements. |
integrations.s3shim.persistence.existingClaim | "" | Reuse an existing PersistentVolumeClaim. |
integrations.s3shim.persistence.storageClass | null | StorageClass for the S3 volume (null uses cluster default). |
integrations.s3shim.existingSecret | "" | Secret holding S3 root credentials (accessKey and secretKey). Empty auto-generates them. |
integrations.s3shim.tls.existingSecret | "" | Existing Secret with ca.crt, tls.crt, and tls.key for internal S3 TLS. |
integrations.s3shim.resources | 100m CPU, 128Mi memory | Resource requests and limits for the gateway container. |
integrations.s3shim.podSecurityContext | UID 65532 | Pod security context adhering to restricted PSS. |
Operator integrations
| Value | Default | Description |
|---|---|---|
integrations.certManager.external.issuerName | "" | cert-manager issuer name for public TLS certificates. Requires env.ALMA_ADVERTISE. |
integrations.certManager.external.issuerKind | ClusterIssuer | Kind of public issuer (ClusterIssuer or Issuer). |
integrations.certManager.internal.issuerName | "" | cert-manager issuer for internal mTLS between server and bundled storage. |
integrations.certManager.internal.issuerKind | Issuer | Kind of internal issuer (Issuer or ClusterIssuer). |
integrations.externalDns | false | When true, annotates the LoadBalancer Service with external-dns.alpha.kubernetes.io/hostname. |
integrations.prometheus.podAnnotations | false | Annotates server pods with prometheus.io/scrape for annotation-based scrapers. |
integrations.prometheus.serviceMonitor.enabled | false | Creates a ServiceMonitor and internal ClusterIP Service exposing /metrics on port 3081. |
integrations.prometheus.serviceMonitor.interval | 30s | Prometheus scrape interval. |
integrations.prometheus.serviceMonitor.labels | {} | Additional labels for Prometheus operator selector matching. |
OpenTelemetry export does not require a dedicated chart value: set standard OTEL_* environment variables in env (see OpenTelemetry export).
Security, RBAC and NetworkPolicy
| Value | Default | Description |
|---|---|---|
serviceAccount.create | true | Create a ServiceAccount for server pods. |
serviceAccount.name | "" | Custom ServiceAccount name (required when create: false). |
serviceAccount.annotations | {} | Annotations for cloud IAM roles (AWS IRSA, GKE Workload Identity, Azure Workload Identity). |
rbac.create | true | Creates Roles for pod identity Secrets and the system:auth-delegator ClusterRoleBinding for TokenReview. |
networkPolicy.enabled | true | Creates ingress NetworkPolicy resources isolating server and bundled backend pods. Egress remains open. |
podSecurityContext | UID/GID 65532, runAsNonRoot: true | PSS restricted profile with RuntimeDefault seccomp. |
Scheduling, lifecycle and resources
| Value | Default | Description |
|---|---|---|
resources | 100m CPU, 512Mi memory requested, 1Gi limit | Container requests and limits for almad. |
nodeSelector, tolerations, affinity | {}, [], {} | Standard Kubernetes pod placement constraints. |
topologySpreadConstraints | [] | Constraints to spread replicas across availability zones or nodes. |
podManagementPolicy | "" | Defaults to Parallel for HA. |
podDisruptionBudget.enabled | null | Automatically enables a PDB (maxUnavailable: 1) when replicaCount > 1. |
podDisruptionBudget.maxUnavailable | 1 | Maximum unavailable pods during voluntary disruptions. |
priorityClassName | "" | Optional PriorityClass name. |
terminationGracePeriodSeconds | 60 | Grace period in seconds for draining active sessions on pod termination. |
startupProbe, readinessProbe, livenessProbe | TCP 8443, /readyz, /healthz on 3000 | Probes against the diagnostics listener. Set a probe to null to disable it. |
commonLabels, podLabels, podAnnotations | {} | Additional labels and annotations applied to resources and pods. |
volumes, volumeMounts | [] | Extra volumes and volume mounts (for custom CA bundles or files). |
Agent chart (almaforge-agent)
The almaforge-agent chart deploys target agents inside Kubernetes to securely connect clusters, applications, and databases back to your control plane.
Deployment and connection
| Value | Default | Description |
|---|---|---|
replicaCount | 2 | Number of agent replicas. Each replica maintains independent target sessions. |
image.repository, image.tag, image.pullPolicy | quay.io/almaforge/almaforge | Container image for the agent binary. |
imagePullSecrets | [] | Pull secrets for private container registries. |
env.ALMA_PROXY | "" | Required. Public proxy endpoint formatted as host:port (for example almaforge.example.com:443). |
env.ALMA_JOIN_METHOD | static | Join method: static (default, uses client ID and secret) or kubernetes (uses in-cluster ServiceAccount token). |
env.ALMA_CLIENT_ID, env.ALMA_CLIENT_SECRET | "" | Credentials when using token join (load via tokenSecret or envFrom rather than plaintext). |
tokenSecret.name | "" | Name of an existing Secret containing token join credentials (e.g. from ExternalSecrets or Vault). |
tokenSecret.clientIdKey, .clientSecretKey | ALMA_CLIENT_ID, ALMA_CLIENT_SECRET | Data keys within tokenSecret containing the client ID and secret. |
tls.caConfigMapName | "" | ConfigMap name holding the root CA bundle when the Proxy uses an internal private CA. |
tls.caSecretName | "" | Secret name holding that CA bundle instead. |
tls.caKey | ca-bundle.pem | Data key name inside the CA ConfigMap or Secret. |
Target services and discovery
| Value | Default | Description |
|---|---|---|
clusterName | "" | Target Kubernetes cluster name in AlmaForge (defaults to the Helm release name if omitted). |
labels | {} | Labels applied to this Kubernetes cluster for RBAC role selection (e.g. env: prod). |
env.ALMA_KUBERNETES_SERVICE | "true" | Enables the Kubernetes access service, connecting this cluster to the control plane. |
env.ALMA_APP_SERVICE | "true" | Enables internal HTTP application forwarding. |
env.ALMA_DATABASE_SERVICE | "true" | Enables database access proxying. |
env.ALMA_SSH_SERVICE | "false" | SSH node service (disabled by default in containers). |
env.ALMA_MATCH_LABELS | "*=*" | Label selector determining which registered targets this agent serves. |
configs | {} | Declarative target resource drop-ins (e.g. additional KubernetesTarget, AppTarget, DatabaseTarget). |
Security, RBAC and NetworkPolicy
| Value | Default | Description |
|---|---|---|
rbac.create | true | Create RBAC roles for Kubernetes access discovery, impersonation, and exec. |
rbac.roles | [] | Optional custom Kubernetes Role or ClusterRole resources deployed by the chart. |
rbac.bindings | [] | Optional custom Kubernetes RoleBinding or ClusterRoleBinding resources to bind impersonated groups/users. |
serviceAccount.create | true | Creates a dedicated ServiceAccount used for Kubernetes join and API access. |
serviceAccount.name | "" | Custom ServiceAccount name when create: false. |
networkPolicy.enabled | true | Creates an ingress NetworkPolicy for the agent pod. Egress remains unrestricted. |
podSecurityContext | UID/GID 65532, runAsNonRoot: true | PSS restricted profile. |
Scheduling and resources
| Value | Default | Description |
|---|---|---|
resources | 100m CPU, 256Mi memory requested, 512Mi limit | Container requests and limits for the agent. |
podDisruptionBudget.enabled | null | Automatically enables a PDB (minAvailable: 1) when replicaCount > 1. |
podDisruptionBudget.minAvailable | 1 | Minimum available agent replicas during voluntary disruptions. |
podManagementPolicy | Parallel | Replicas start in parallel. |
nodeSelector, tolerations, affinity | {}, [], {} | Pod scheduling constraints. |
startupProbe, readinessProbe, livenessProbe | null, /readyz, /healthz on 3000 | Probes against the diagnostics listener. Set startupProbe to grant extra time on slower clusters. |
integrations.prometheus.serviceMonitor.enabled | false | Creates a ServiceMonitor for scraping agent metrics on port 3081. |
Example values files
Downloadable reference values files for the Helm chart:
cluster-values.yaml: Reference values file for the AlmaForge cluster control plane (HA, bundled storage, cert-manager TLS, and declarative OIDC SSO).agent-values.yaml: Reference values file for the in-cluster agent (Kubernetes join and built-in cluster target).
References
- Cluster on Kubernetes: The primary deployment guide.
- Kubernetes Access: Detailed configuration for the in-cluster agent.
- Environment Configuration: Full reference for all
ALMA_*environment variables. - Declarative Configuration: Resource schema for drop-in manifests.
- Air-gapped Deployment: Mirroring Helm images to private registries.
- High Availability: Control plane architecture and fault tolerance.