docs: replace fix cockroachdb version with latest stable (#6803)

This commit is contained in:
Silvan 2023-10-25 16:20:55 +02:00 committed by GitHub
parent 48ae5d58ac
commit c8b9b0ac75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 11 additions and 11 deletions

View File

@ -143,7 +143,7 @@ Self-Service
- [Administration UI (Console)](https://zitadel.com/docs/guides/manage/console/overview)
Deployment
- [Postgres](https://zitadel.com/docs/self-hosting/manage/database#postgres) (version >= 14) or [CockroachDB](https://zitadel.com/docs/self-hosting/manage/database#cockroach) (version >= 22.0)
- [Postgres](https://zitadel.com/docs/self-hosting/manage/database#postgres) (version >= 14) or [CockroachDB](https://zitadel.com/docs/self-hosting/manage/database#cockroach) (version latest stable)
- [Zero Downtime Updates](https://zitadel.com/docs/concepts/architecture/solution#zero-downtime-updates)
Track upcoming features on our [roadmap](https://zitadel.com/roadmap).

View File

@ -98,7 +98,7 @@ spec:
topologyKey: kubernetes.io/hostname
containers:
- name: cockroachdb
image: cockroachdb/cockroach:v22.2.2
image: cockroachdb/cockroach:latest
imagePullPolicy: IfNotPresent
# TODO: Change these to appropriate values for the hardware that you're running. You can see
# the resources that can be allocated on each of your Kubernetes nodes by running:

View File

@ -26,7 +26,7 @@ services:
restart: 'always'
networks:
- 'zitadel'
image: 'cockroachdb/cockroach:v22.2.2'
image: 'cockroachdb/cockroach:latest'
command: 'start-single-node --insecure'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]

View File

@ -20,7 +20,7 @@ services:
restart: 'always'
networks:
- 'zitadel'
image: 'cockroachdb/cockroach:v22.2.2'
image: 'cockroachdb/cockroach:latest'
command: 'start-single-node --insecure'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]

View File

@ -12,7 +12,7 @@ import NoteInstanceNotFound from './troubleshooting/_note_instance_not_found.mdx
## Install CockroachDB
Download a `cockroach` binary as described [in the CockroachDB docs](https://www.cockroachlabs.com/docs/stable/install-cockroachdb).
ZITADEL is tested against CockroachDB v22.2.2 and Ubuntu 20.04.
ZITADEL is tested against CockroachDB latest stable tag and Ubuntu 20.04.
## Run CockroachDB

View File

@ -28,7 +28,7 @@ services:
- 'zitadel-certs:/crdb-certs:ro'
certs:
image: 'cockroachdb/cockroach:v22.2.2'
image: 'cockroachdb/cockroach:latest'
entrypoint: [ '/bin/bash', '-c' ]
command: [ 'cp /certs/* /zitadel-certs/ && cockroach cert create-client --overwrite --certs-dir /zitadel-certs/ --ca-key /zitadel-certs/ca.key zitadel_user && chown 1000:1000 /zitadel-certs/*' ]
volumes:
@ -42,7 +42,7 @@ services:
restart: 'always'
networks:
- 'zitadel'
image: 'cockroachdb/cockroach:v22.2.2'
image: 'cockroachdb/cockroach:latest'
command: 'start-single-node --advertise-addr my-cockroach-db'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]

View File

@ -11,7 +11,7 @@ import NoteInstanceNotFound from './troubleshooting/_note_instance_not_found.mdx
## Install CockroachDB
Download a `cockroach` binary as described [in the CockroachDB docs](https://www.cockroachlabs.com/docs/stable/install-cockroachdb).
ZITADEL is tested against CockroachDB v22.2.2.
ZITADEL is tested against CockroachDB latest stable tag.
## Run CockroachDB

View File

@ -19,7 +19,7 @@ services:
- "zitadel-certs:/crdb-certs:ro"
certs:
image: "cockroachdb/cockroach:v22.2.2"
image: "cockroachdb/cockroach:latest"
entrypoint: ["/bin/bash", "-c"]
command:
[
@ -36,7 +36,7 @@ services:
restart: "always"
networks:
- "zitadel"
image: "cockroachdb/cockroach:v22.2.2"
image: "cockroachdb/cockroach:latest"
command: "start-single-node --advertise-addr my-cockroach-db"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health?ready=1"]

View File

@ -32,7 +32,7 @@ services:
db:
restart: 'always'
image: 'cockroachdb/cockroach:v22.2.10'
image: 'cockroachdb/cockroach:latest'
command: 'start-single-node --insecure --http-addr :9090'
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9090/health?ready=1']