Skip to content

Add Tenant

Onboard a new tenant environment to the DOKS platform.

Purpose

Add a 4th (or N-th) tenant namespace, Doppler config, ESO ClusterSecretStore, and laravel-app Helm values to the platform.

When to use

When a new tenant environment needs to be deployed to the cluster.

Steps

TODO: fill in after BD-3 + BD-4 complete. Steps will cover:

  1. Add Doppler config for the new tenant (TF)
  2. Generate service token (manual)
  3. Add namespace + K8s Secrets (TF)
  4. Add ClusterSecretStore (platform chart values)
  5. Add Gateway listener + HTTPRoute hostname
  6. Add ApplicationSet list element
  7. Create values-.yaml

Rollback

Remove the ApplicationSet list element. Prune removes all deployed resources.

V&V

  • kubectl get pods -n <new-tenant> all Running
  • argocd app get <new-tenant>-laravel shows Synced/Healthy