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:
- Add Doppler config for the new tenant (TF)
- Generate service token (manual)
- Add namespace + K8s Secrets (TF)
- Add ClusterSecretStore (platform chart values)
- Add Gateway listener + HTTPRoute hostname
- Add ApplicationSet list element
- Create values-
.yaml
Rollback¶
Remove the ApplicationSet list element. Prune removes all deployed resources.
V&V¶
kubectl get pods -n <new-tenant>allRunningargocd app get <new-tenant>-laravelshowsSynced/Healthy