No description
  • Shell 48.8%
  • Makefile 29.1%
  • HCL 17.2%
  • Go Template 4.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-02 11:46:33 +05:30
.github [Compliance] - PR Template Changes Required (#55) 2026-06-26 15:31:45 +05:30
docs v0.1.0 release 2026-06-30 13:38:37 +05:30
scripts test(acceptance): KIND version matrix test with dynamic versioning (#32) 2026-05-18 14:41:41 +05:30
templates fixed unit tests 2026-06-30 13:38:37 +05:30
tests fixed unit tests 2026-06-30 13:38:37 +05:30
.gitignore AWS EKS Integration Tests for Boundary Worker Helm Chart (#28) 2026-05-12 14:20:48 +05:30
.helmignore Added secret support 2026-06-16 14:59:15 +05:30
.trivyignore Revert unnecessary files 2026-05-12 15:19:30 +05:30
CHANGELOG.md updated changelog and readme 2026-07-02 11:46:33 +05:30
Chart.yaml updated charts yaml 2026-06-30 13:38:37 +05:30
CONTRIBUTING.md Revert unnecessary files 2026-05-12 15:19:30 +05:30
kubescape-exceptions.json Created Pipleine and Helm Tests 2026-04-17 10:30:12 +05:30
LICENSE added LICENSE 2026-05-13 10:31:01 +05:30
Makefile feat: enabled pvc's to use default storageclass by default 2026-06-30 13:38:37 +05:30
README.md updated changelog and readme 2026-07-02 11:46:33 +05:30
values.schema.json feat: added retention policies for pvc's on helm uninstall 2026-06-30 13:38:37 +05:30
values.yaml feat: added retention policies for pvc's on helm uninstall 2026-06-30 13:38:37 +05:30

Boundary Worker Helm Chart

Boundary workers are the data-plane component of Boundary. They proxy session traffic between users and targets and register with Boundary controllers.

This chart packages the Kubernetes resources required to run one self-managed Boundary worker in Kubernetes.

What The Chart Deploys

By default, this chart deploys:

  • One Deployment with one worker replica

  • Two Services:

    • Proxy Service (boundary-worker-proxy) on port 9202
    • Ops Service (boundary-worker-ops) on port 9203
  • One ConfigMap for worker.config

  • Two optional PVCs (both disabled by default):

    • Auth storage PVC (worker.persistence.authStorage.enabled)
    • Recording storage PVC (worker.persistence.recording.enabled)

    When a PVC is enabled, it is annotated with helm.sh/resource-policy: keep by default (retainOnUninstall: true), so it survives helm uninstall. Set retainOnUninstall: false to allow Helm to delete the PVC on uninstall.

Prerequisites

Version Requirements

Component Version
Kubernetes 1.34 and above
Helm v3 and above

Required Resources

  • Reachable Boundary controller upstreams
  • Valid Boundary worker HCL in worker.config
  • Persistent storage support if PVCs are enabled
  • Optional cloud identity setup (for example IRSA) when using cloud KMS

Helm Install Commands

Add the HashiCorp Helm repository (one-time):

helm repo add hashicorp https://helm.releases.hashicorp.com
helm repo update

Install with custom values:

helm install boundary-worker hashicorp/boundary-worker \
  --version 0.1.0 \
  --namespace boundary \
  --values my-values.yaml \
  --wait

Helm Upgrade Commands

Standard upgrade:

helm upgrade boundary-worker hashicorp/boundary-worker \
  --version 0.1.0 \
  --namespace boundary \
  --values my-values.yaml \
  --rollback-on-failure \
  --wait

Kubernetes Secrets and env:// References

When secretRefs.secretName is set, the chart injects the secret value as an environment variable and validates that worker.config references it using the correct env:// variable name. Using a different variable name — or hardcoding the token directly in worker.config — causes the chart to fail during rendering before installation completes.

The required env:// reference for each secret-backed field is:

Field Required env:// reference
controller_generated_activation_token env://BOUNDARY_WORKER_CONTROLLER_GENERATED_ACTIVATION_TOKEN

Example worker.config snippet:

worker {
  controller_generated_activation_token = "env://BOUNDARY_WORKER_CONTROLLER_GENERATED_ACTIVATION_TOKEN"
  ...
}

If you use a different variable name, the chart fails during rendering with an error that identifies the field and the expected variable name.


Please note: We take Boundary security and user trust seriously. If you believe you found a security issue in Boundary, please responsibly disclose it at security@hashicorp.com.