Skip to main content

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:

Terminal
helm repo add almaforge https://get.almaforge.com/helmhelm repo update almaforgehelm show values almaforge/almaforgehelm show values almaforge/almaforge-agent

For installation guides, see Cluster on Kubernetes for the cluster chart and Kubernetes Access for the agent chart.


Cluster chart (almaforge)​

Deployment shape and images​

ValueDefaultDescription
replicaCountnullNumber of cluster replicas. null automatically selects 3 replicas for HA.
image.repositoryquay.io/almaforge/almaforgeContainer image repository for almad.
image.tag""Container image tag. When empty, defaults to the chart's appVersion.
image.pullPolicyIfNotPresentImage 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.

ValueDefaultDescription
envsee belowEnvironment 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, including ALMA_ADVERTISE, ALMA_STATE_URI, ALMA_RECORDINGS_URI, ALMA_DEBUG, and OpenTelemetry OTEL_* variables.
  • Chart-Managed Variables: ALMA_LISTEN (pod port 8443), ALMA_DIAG_LISTEN (port 3000), and ALMA_METRICS_LISTEN (port 3081) are managed automatically by the chart and cannot be overridden in env.
  • Public Endpoint: Always set env.ALMA_ADVERTISE to your cluster's public domain and port (for example almaforge.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 using envFrom:
YAML
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.
    • Role and User: RBAC permission policies (see Access Controls).
    • KubernetesTarget, AppTarget, DatabaseTarget: Registered target infrastructure.
  • Secret Interpolation (${env:VARIABLE}): Drop-in manifests under configs can reference environment variables injected via env or envFrom using ${env:VARIABLE} placeholders. The daemon evaluates these placeholders at runtime without exposing credentials in the ConfigMap or Helm release history:
YAML
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​

ValueDefaultDescription
service.typeLoadBalancerKubernetes 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:

YAML
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:

YAML
service:
type: LoadBalancer
externalTrafficPolicy: Local
annotations:
cloud.google.com/l4-rbs: "enabled"

For Azure AKS:

YAML
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)​

ValueDefaultDescription
integrations.etcd.enabledtrueRun a bundled etcd StatefulSet for cluster state. Set false when providing external state storage.
integrations.etcd.replicaCount3Odd 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, .tagregistry.k8s.io/etcd:3.6.4-0Container image for bundled etcd.
integrations.etcd.persistence.size1GiPersistentVolume size per etcd member.
integrations.etcd.persistence.storageClassnullStorageClass 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.enablednullAutomatically enables a PDB (maxUnavailable: 1) when replicaCount > 1.
integrations.etcd.affinity{}Scheduling constraints (defaults to preferred host anti-affinity between members).
integrations.etcd.resources100m CPU, 256Mi memoryResource requests and limits for each etcd pod.
integrations.etcd.podSecurityContextUID 65532Pod security context adhering to restricted PSS.

S3 shim (session recordings)​

ValueDefaultDescription
integrations.s3shim.enabledtrueRun an in-cluster S3 gateway (Versity Gateway) backed by a PersistentVolume for session recordings.
integrations.s3shim.image.repository, .tagdocker.io/versity/versitygw:v1.11.0Container image for the S3 gateway.
integrations.s3shim.bucketalmaforge-recordingsS3 bucket name created on the PersistentVolume.
integrations.s3shim.pathrecordsPrefix path for session recording objects.
integrations.s3shim.persistence.size50GiPersistentVolume size for recordings. Size for your retention requirements.
integrations.s3shim.persistence.existingClaim""Reuse an existing PersistentVolumeClaim.
integrations.s3shim.persistence.storageClassnullStorageClass 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.resources100m CPU, 128Mi memoryResource requests and limits for the gateway container.
integrations.s3shim.podSecurityContextUID 65532Pod security context adhering to restricted PSS.

Operator integrations​

ValueDefaultDescription
integrations.certManager.external.issuerName""cert-manager issuer name for public TLS certificates. Requires env.ALMA_ADVERTISE.
integrations.certManager.external.issuerKindClusterIssuerKind of public issuer (ClusterIssuer or Issuer).
integrations.certManager.internal.issuerName""cert-manager issuer for internal mTLS between server and bundled storage.
integrations.certManager.internal.issuerKindIssuerKind of internal issuer (Issuer or ClusterIssuer).
integrations.externalDnsfalseWhen true, annotates the LoadBalancer Service with external-dns.alpha.kubernetes.io/hostname.
integrations.prometheus.podAnnotationsfalseAnnotates server pods with prometheus.io/scrape for annotation-based scrapers.
integrations.prometheus.serviceMonitor.enabledfalseCreates a ServiceMonitor and internal ClusterIP Service exposing /metrics on port 3081.
integrations.prometheus.serviceMonitor.interval30sPrometheus 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​

ValueDefaultDescription
serviceAccount.createtrueCreate 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.createtrueCreates Roles for pod identity Secrets and the system:auth-delegator ClusterRoleBinding for TokenReview.
networkPolicy.enabledtrueCreates ingress NetworkPolicy resources isolating server and bundled backend pods. Egress remains open.
podSecurityContextUID/GID 65532, runAsNonRoot: truePSS restricted profile with RuntimeDefault seccomp.

Scheduling, lifecycle and resources​

ValueDefaultDescription
resources100m CPU, 512Mi memory requested, 1Gi limitContainer 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.enablednullAutomatically enables a PDB (maxUnavailable: 1) when replicaCount > 1.
podDisruptionBudget.maxUnavailable1Maximum unavailable pods during voluntary disruptions.
priorityClassName""Optional PriorityClass name.
terminationGracePeriodSeconds60Grace period in seconds for draining active sessions on pod termination.
startupProbe, readinessProbe, livenessProbeTCP 8443, /readyz, /healthz on 3000Probes 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​

ValueDefaultDescription
replicaCount2Number of agent replicas. Each replica maintains independent target sessions.
image.repository, image.tag, image.pullPolicyquay.io/almaforge/almaforgeContainer 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_METHODstaticJoin 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, .clientSecretKeyALMA_CLIENT_ID, ALMA_CLIENT_SECRETData 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.caKeyca-bundle.pemData key name inside the CA ConfigMap or Secret.

Target services and discovery​

ValueDefaultDescription
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​

ValueDefaultDescription
rbac.createtrueCreate 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.createtrueCreates a dedicated ServiceAccount used for Kubernetes join and API access.
serviceAccount.name""Custom ServiceAccount name when create: false.
networkPolicy.enabledtrueCreates an ingress NetworkPolicy for the agent pod. Egress remains unrestricted.
podSecurityContextUID/GID 65532, runAsNonRoot: truePSS restricted profile.

Scheduling and resources​

ValueDefaultDescription
resources100m CPU, 256Mi memory requested, 512Mi limitContainer requests and limits for the agent.
podDisruptionBudget.enablednullAutomatically enables a PDB (minAvailable: 1) when replicaCount > 1.
podDisruptionBudget.minAvailable1Minimum available agent replicas during voluntary disruptions.
podManagementPolicyParallelReplicas start in parallel.
nodeSelector, tolerations, affinity{}, [], {}Pod scheduling constraints.
startupProbe, readinessProbe, livenessProbenull, /readyz, /healthz on 3000Probes against the diagnostics listener. Set startupProbe to grant extra time on slower clusters.
integrations.prometheus.serviceMonitor.enabledfalseCreates 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​