codetogether-collab

by CodeTogther Inc.

Helm chartv1.3.0App 2026.1.2

CodeTogether Collab

About this chart

README.md Helm Chart for CodeTogether Collab

Summary

This chart creates a CodeTogether Collab server deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

This chart has been created with Helm v3 and tested with:

  • Kubernetes v1.18+
  • Helm v3.5+

With gateway.enabled=true (see Gateway API), the cluster also needs the Gateway API CRDs (v1.5+ for the ListenerSet) and a Gateway, for example from NGINX Gateway Fabric.

Configuration

The following table lists configurable parameters of the CodeTogether Collab chart and their default values:

ParameterDescriptionDefault
nameOverrideOverrides the name of the chart""
fullnameOverrideOverrides the full name of the chart""
image.repositoryDocker image repository for CodeTogether Collabcodetogether/codetogether-collab
image.pullPolicyContainer image pull policyAlways
image.tagTag for the CodeTogether Collab imagelatest
imageCredentials.enabledEnables authentication for private Docker registryfalse
imageCredentials.registryDocker registry URLhub.edge.codetogether.com
imageCredentials.usernameDocker registry usernamemy-customer-username
imageCredentials.passwordDocker registry passwordmy-customer-password
imageCredentials.emailDocker registry emailunused
openshift.enabledEnables deployment in OpenShiftfalse
intel.urlURL of the Intel serverhttps://your-intel-server
intel.secretSecret key used to authenticate with the Intel server for secure communicationSECRET
codetogether.modeCodeTogether running mode (direct, locator-central, or locator-edge)direct
codetogether.urlFully Qualified Domain Name (FQDN) for the serverhttps://codetogether.local
codetogether.trustAllCertsAllows untrusted certificates if set to truetrue
codetogether.noclientsDisables the /clients endpoint if set to truefalse
codetogether.timeZone.enabledEnables a customized time zone for the containerfalse
codetogether.timeZone.regionTime zone region for the containerAmerica/Chicago
locatorCentral.database.hostHost for locator-central database10.10.0.2
locatorCentral.database.portPort for locator-central database3306
locatorCentral.database.schemaSchema name for locator-central databasecodetogether
locatorCentral.database.dialectDatabase dialect (mysql or postgres)mysql
locatorCentral.database.userUsername for the databasemy-db-username
locatorCentral.database.passwordPassword for the databasemy-db-password
locatorCentral.database.sslEnabledEnables SSL for the database connectionfalse
locatorEdge.locatorURL of the locator for edge modehttps://codetogether.locator
locatorEdge.regionRegion for the edge serverdefault
ingress.enabledEnables ingress controller resourcetrue
ingress.tls.secretNameTLS secret name for ingresscodetogether-tls
gateway.enabledCreates a Gateway API HTTPRoute for the codetogether.url hostfalse
gateway.parentRefsGateway(s) the HTTPRoute attaches to; required when enabled unless gateway.listenerSet.enabled[]
gateway.annotations / gateway.labelsExtra HTTPRoute metadata (labels also go on the ListenerSet){}
gateway.listenerSet.enabledCreates a ListenerSet with this release's HTTPS listener; requires gateway.enabled=truefalse
gateway.listenerSet.parentRefThe shared Gateway (name, namespace); required when enabled{}
gateway.listenerSet.listenerName / portListener name (the route's sectionName) and porthttps / 443
gateway.listenerSet.tlsSecretNameTLS Secret for the listener<release fullname>-tls
gateway.listenerSet.annotationsListenerSet annotations (e.g. the cert-manager issuer){}
dashboard.enabledEnables the dashboard and allows configuration of credentialsfalse
dashboard.usernameDashboard usernamemy-dashboard-username
dashboard.passwordDashboard passwordmy-dashboard-password
av.enabledEnables audio/video supportfalse
av.serverIPIP address for A/V serverauto
av.stunServers.enabledEnables private STUN serversfalse
av.stunServers.serverSTUN server addresscoturn.example.com
av.stunServers.secretSTUN server secretmy-secret
service.portPort for CodeTogether Collab service443
restart.enabledEnables periodic restarts for the servertrue
restart.cronPatternCron pattern for scheduling restarts* 11 * * 0
favicon.enabledEnables a custom faviconfalse
favicon.filePathPath to the custom faviconfiles/new-favicon.ico

Creating your Kubernetes Namespace for CodeTogether Collab

To create a namespace for CodeTogether Collab objects:

$ kubectl create namespace codetogether-collab
$ kubectl config set-context --current --namespace=codetogether-collab

TLS

To secure CodeTogether, you can add a secret that contains your TLS (Transport Layer Security) private key and certificate:

$ kubectl create secret tls codetogether-tls --key <your-private-key-filename> --cert <your-certificate-filename>

Gateway API (NGINX Gateway Fabric)

Clusters that route with Gateway API instead of an Ingress controller (for example NGINX Gateway Fabric, which replaces the retired ingress-nginx) can have the chart attach an HTTPRoute to an existing Gateway:

ingress:
  enabled: false
gateway:
  enabled: true
  parentRefs:
    - name: shared-gateway        # your Gateway
      namespace: gateway-system   # omit if it is in the release namespace
      sectionName: https          # the HTTPS listener with the certificate

The chart renders an HTTPRoute for the codetogether.url host that sends / to the chart Service. WebSocket connections need no extra setting: NGINX Gateway Fabric passes the upgrade through. Settings you added as Ingress annotations (ingress.annotations, ingress.config) don't carry over; set the equivalent on your Gateway.

ListenerSet: your own listener on a shared Gateway

Instead of adding a listener to the shared Gateway for this host, the chart can create a ListenerSet (gateway.networking.k8s.io/v1, Gateway API v1.5+) that adds the HTTPS listener for the codetogether.url host, with its certificate, from the release namespace. The HTTPRoute then attaches to that ListenerSet, so leave gateway.parentRefs empty:

ingress:
  enabled: false
gateway:
  enabled: true
  listenerSet:
    enabled: true
    parentRef:
      name: gateway-ngf          # the shared Gateway
      namespace: kube-system
    # The certificate Secret defaults to <release fullname>-tls. Set
    # tlsSecretName: codetogether-tls to keep the certificate from the TLS step.
    annotations:
      cert-manager.io/cluster-issuer: cert-manager-clusterissuer

The shared Gateway has to accept ListenerSets from the release namespace (spec.allowedListeners.namespaces). With a cert-manager version that supports ListenerSets, the issuer annotation on the ListenerSet issues the certificate into that Secret; otherwise create the Secret yourself. On cert-manager v1.21 t

Deploy codetogether-collab with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has codetogether-collab 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 chartcodetogether-collab is pinned at v1.3.0 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