beam

by foomo

Helm chartv0.6.14App 0.6.14Verified publisher

Secure infrastructure access

About this chart

beam

Secure infrastructure access

Usage

Supervisor

  • Create a GitHub app
  • Configure your GitHub teams and members
  • Add the following to your values.yaml
pinniped:
  enabled: true
  supervisor:
    enabled: true
    githubProviders:
      provider-name:
        organization: <YOUR_GITHUB_ORG>
        clientId: <GITHUB_APP_CLIENT_ID>
        clientSecret: <GITHUB_APP_CLIENT_SECRET>
    federationDomains:
      domain-name:
        issuer: https://beam.your-domain.com/issuer-path
        tlsSecretName: <TLS_SECRET_NAME>
        identityProviders:
          provider-name:
            teams:
              - organization/your-dev-team
              - organization/your-devops-team
  • Wait for the supervisor to acquire a loadbalancer ip
  • Add a Cloudflare DNS record to point to the supervisor loadbalancer ip

Cloudflared & Concierge

  • Create a new Cloudflare Network Tunnel and retrive it's token:
$ cloudflared tunnel create <TUNNEL_NAME>
$ cloudflared tunnel token <TUNNEL_NAME>
  • Add the following to your values.yaml
cloudflared:
  enabled: true
  token: <TUNNEL_TOKEN>

cloudflaredSplitter:
  enabled: true
  beams:
		# lets you issue pinniped get kubeconfig with validation
    kubectl: <PROVIDER_KUBECTL_ENDPOINT>

cloudflaredSidecars:
  - name: digitalocean
    image: "digitalocean/doctl:latest"
    imagePullPolicy: IfNotPresent
    env:
      - name: DIGITALOCEAN_ACCESS_TOKEN
        value: <YOUR-DO-API-TOKEN>

pinniped:
  enabled: true
  concierge:
    enabled: true
    teams:
      dev:
        role: editor
        team: organization/your-dev-team
      devops:
        role: cluster-admin
        team: organization/your-devops-team
    jwtAuths:
      domain-name:
        issuer: https://beam.your-domain.com/issuer-path
        audience: arbitrary-but-unique-audience

Kubernetes access

  • Start cloudflare tunnel on local machine:
$ cloudflared access tcp --hostname beam.your-domain.com --url 127.0.0.1:1234
  • Retrieve a kubeconfig using the original kubeconfig, through the tunnel:
HTTPS_PROXY=socks5://127.0.0.1:1234 pinniped get kubeconfig --kubeconfig "path/to/provider/kubeconfig.yaml" > beam-kubeconfig.yaml
  • Connect to the cluster:
HTTPS_PROXY=socks5://127.0.0.1:1234 kubectl get namespaces --kubeconfig "beam-kubeconfig.yaml"

Requirements

RepositoryNameVersion
oci://registry-1.docker.io/bitnamichartspinniped(pinniped)2.4.23

Values

Cloudflared settings

KeyTypeDefaultDescription
cloudflared.accountstring""Your Cloudflare account number.
cloudflared.autoscaling.additionalMetricsobject{}Additional scaling metrics
cloudflared.autoscaling.behaviorobject{}Autoscaling behavior settings
cloudflared.autoscaling.enabledboolfalseSpecifies whether a auto scaling should be enabled
cloudflared.autoscaling.maxReplicasint9Maximum replication number
cloudflared.autoscaling.maxUnavailableint1Maximum unavailablity
cloudflared.autoscaling.minAvailablestring""Minimum availablity
cloudflared.autoscaling.minReplicasint1Minimum replication number
cloudflared.autoscaling.targetCPUint80Target CPU utilization
cloudflared.autoscaling.targetMemorystringnilTarget Memory utilization
cloudflared.dnsConfigobject{}DNS config
cloudflared.enableWarpboolfalseIf true, turn on WARP routing for TCP
cloudflared.enabledboolfalseIndicates wether to enable it or not
cloudflared.extraEnvlist[]Environment variables to add
cloudflared.extraEnvFromlist[]Environment variables from secrets or configmaps to add
cloudflared.extraVolumeMountslist[]Volume mounts to add
cloudflared.extraVolumeslist[]Volumes to add
cloudflared.hostAliaseslist[]Host aliases to add
cloudflared.image.pullPolicystring"IfNotPresent"Image tag
cloudflared.image.pullSecretslist[]Image pull secrets
cloudflared.image.repositorystring"cloudflare/cloudflared"Image repository
cloudflared.image.tagstring"2026.11.1"Image tag
cloudflared.ingresslist[]Define ingress rules for the tunnel (read more)
cloudflared.livenessProbeobject{"failureThreshold":1,"httpGet":{"path":"/ready","port":2000},"initialDelaySeconds":10,"periodSeconds":10}Liveness probe settings for pods.
cloudflared.podAnnotationsobject{}Annotations for pods
cloudflared.podLabelsobject{}Labels for pods
cloudflared.podMonitor.additionalLabelsobject{}Additional ServiceMonitor labels
cloudflared.podMonitor.annotationsobject{}ServiceMonitor annotations
cloudflared.podMonitor.enabledboolfalseIf enabled, ServiceMonitor resources for Prometheus Operator are created
cloudflared.podMonitor.intervalstring""ServiceMonitor scrape interval
cloudflared.podMonitor.metricRelabelingslist[]ServiceMonitor metric relabel configs to apply to samples before ingestion
cloudflared.podMonitor.relabelingslist[]ServiceMonitor relabel configs to apply to samples before scraping.
cloudflared.podMonitor.scrapeTimeoutstring""ServiceMonitor scrape timeout in Go duration format (e.g. 15s)
cloudflared.podMonitor.targetLabelslist[]ServiceMonitor will add labels from the service to the Prometheus metric
cloudflared.podSecurityContextobject{}The SecurityContext for pods
cloudflared.readinessProbeobject{"httpGet":{"path":"/ready","port":2000}}Readiness probe settings for pods.
cloudflared.replicasint2Number of replications
cloudflared.resourcesobject{}Resource request & limits.
cloudflared.scheduling.affinityobject{}Affinity for pod assignment
cloudflared.scheduling.enabledbooltrueIndicates wether scheduling is enabled or not
cloudflared.scheduling.nodeSelectorobject{}Node labels for pod assignment
cloudflared.scheduling.priorityClassstringnilPriority class name
cloudflared.scheduling.tolerationslist[]Tolerations for pod assignment
cloudflared.secretstring""The secret for the tunnel.
cloudflared.securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true}Security items for one container. We lock it down.
cloudflared.startupProbeobject{"httpGet":{"path":"/ready","port":2000}}Readiness probe settings for pods.
cloudflared.tunnelIdstring""The ID of the above tunnel.
cloudflared.tunnelNamestring""The name of the tunnel this instance will serve

Cloudflared Sidecars settings

KeyTypeDefaultDescription
cloudflaredSidecarslist[]Additional cloudflared sidecars

Cloudflared Splitter settings

KeyTypeDefaultDescription
cloudflaredSplitter.beamsobject{}Mao of additional enpoints
cloudflaredSplitter.enabledboolfalseEnable cloudflared splitter
cloudflaredSplitter.extraEnvlist[]Environment variables to add
cloudflaredSplitter.extraEnvFromlist[]Environment variables from secrets or configmaps to add
cloudflaredSplitter.extraVolumeMountslist[]Volume mounts to add
cloudflaredSplitter.image.pullPolicystring"IfNotPresent"Image tag
cloudflaredSplitter.image.repositorystring"nginx"Image repository
cloudflaredSplitter.image.tagstring"1.31.9"Image tag
cloudflaredSplitter.livenessProbeobject{}Liveness probe settings for pods
cloudflaredSplitter.readinessProbeobject{}Readiness probe settings for pods
cloudflaredSplitter.resourcesobject{}Resource request & limits.
cloudflaredSplitter.securityContextobject{}Security Context
cloudflaredSplitter.startProbeobject{}Startup probe settings for pods

Overrides

KeyTypeDefaultDescription
fullnameOverridestring""Overrides the chart's computed fullname
nameOverridestring""Overrides the chart's name
namespaceOverridestring""The name of the Namespace to deploy

Pinniped settings

KeyTypeDefaultDescription
pinniped.concierge.credentialIssuerConfigstring"impersonationProxy:\n mode: enabled\n service:\n type: ClusterIP\n externalEndpoint: {{ .Release.Name }}-pinniped-concierge-impersonation-proxy-cluster-ip.{{ .Release.Namespace }}:443\n"Override dependency
pinniped.concierge.enabledboolfalseEnable concierge
pinniped.concierge.jwtAuthsobject{}JWT Authenticators for Concierge
pinniped.concierge.teamsobject{}ClusterRoleBinding to create in the cluster for teams (groups)
pinniped.concierge.usersobject{}ClusterRoleBinding to create in the cluster for users
pinniped.enabledboolfalseEnable pinniped
pinniped.supervisor.enabledboolfalseEnable supervisor
pinniped.supervisor.federationDomainsobject{}Federation Domains to create in the supervisor cluster
pinniped.supervisor.githubProvidersobject{}GitHub Providers to create in the supervisor cluster

Global settings

KeyTypeDefaultDescription
pinniped.global.securityobject{"allowInsecureImages":false}Security parameters.
pinniped.global.security.allowInsecureImagesboolfalseEnable concierge

Repository settings

KeyTypeDefaultDescription
pinniped.image.repositorystring"bitnamilegacy/pinniped"Repository to use.

General

KeyTypeDefaultDescription
revisionHistoryLimitint10Number of revisions to keep

Service account settings

KeyTypeDefaultDescription
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountbooltrueAutomatically mount a ServiceAccount's API credentials?
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use.

Deploy beam with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has beam on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartbeam is pinned at v0.6.14 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply