docs: install crdb chart separately (#4849)

* docs: install crdb chart separately

* Update kubernetes.mdx

* Update kubernetes.mdx

Co-authored-by: Florian Forster <florian@zitadel.com>
This commit is contained in:
Elio Bischof 2022-12-14 21:09:23 +01:00 committed by GitHub
parent fc672c9adc
commit 3e52beaf89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,29 +12,35 @@ For running an easily testable, insecure, non-HA ZITADEL instance, run the follo
## Helm
### Add the helm repository
### Add the helm repositories for CockroachDB and ZITADEL
```bash
helm repo add cockroachdb https://charts.cockroachdb.com/
helm repo add zitadel https://charts.zitadel.com
```
### Install an insecure zitadel release that works with localhost
### Install an insecure cockroachdb and zitadel release that works with localhost
```bash
helm install --namespace zitadel --create-namespace my-zitadel zitadel/zitadel \
# CockroachDB
helm install crdb cockroachdb/cockroachdb \
--set fullnameOverride=crdb \
--set single-node=true \
--set statefulset.replicas=1
# ZITADEL
helm install my-zitadel zitadel/zitadel \
--set zitadel.masterkey="MasterkeyNeedsToHave32Characters" \
--set zitadel.configmapConfig.ExternalSecure=false \
--set zitadel.configmapConfig.TLS.Enabled=false \
--set zitadel.secretConfig.Database.cockroach.User.Password="a-zitadel-db-user-password" \
--set replicaCount=1 \
--set cockroachdb.single-node=true \
--set cockroachdb.statefulset.replicas=1
--set replicaCount=1
```
### Forward the ZITADEL service port to your local machine
```bash
kubectl -n zitadel port-forward svc/my-zitadel 8080:8080
kubectl port-forward svc/my-zitadel 8080:8080
```
<DefaultUser components={props.components} />