From ec8ae51f4ed50cd81857c371f8d59909be98ffe6 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 11 Jul 2022 21:59:11 +0200 Subject: [PATCH] chore: update zitadel version and fix an issue with cockroachdb >=v22 (#3937) --- deploy/knative/zitadel-knative-service.yaml | 4 ++-- docs/docs/guides/installation/configure/docker-compose.yaml | 2 +- .../installation/loadbalancing-example/docker-compose.yaml | 2 +- docs/docs/guides/installation/run/docker-compose.yaml | 2 +- docs/docs/guides/installation/run/knative.mdx | 2 +- docs/docs/guides/installation/run/linux.mdx | 4 ++-- docs/docs/guides/installation/run/macos.mdx | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/deploy/knative/zitadel-knative-service.yaml b/deploy/knative/zitadel-knative-service.yaml index 77682d48d..fb7b87f4e 100644 --- a/deploy/knative/zitadel-knative-service.yaml +++ b/deploy/knative/zitadel-knative-service.yaml @@ -7,7 +7,7 @@ spec: template: metadata: annotations: - client.knative.dev/user-image: ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.33-amd64 + client.knative.dev/user-image: ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.39-amd64 creationTimestamp: null spec: containerConcurrency: 0 @@ -30,7 +30,7 @@ spec: value: zitadel.default.127.0.0.1.sslip.io - name: ZITADEL_S3DEFAULTINSTANCE_CUSTOMDOMAIN value: zitadel.default.127.0.0.1.sslip.io - image: ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.33-amd64 + image: ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.39-amd64 name: user-container ports: - containerPort: 8080 diff --git a/docs/docs/guides/installation/configure/docker-compose.yaml b/docs/docs/guides/installation/configure/docker-compose.yaml index 14a855945..c93301e5e 100644 --- a/docs/docs/guides/installation/configure/docker-compose.yaml +++ b/docs/docs/guides/installation/configure/docker-compose.yaml @@ -6,7 +6,7 @@ services: restart: 'always' networks: - 'zitadel' - image: 'ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.33-amd64' + image: 'ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.39-amd64' command: 'start-from-init --config /example-zitadel-config.yaml --config /example-zitadel-secrets.yaml --steps /example-zitadel-init-steps.yaml --masterkey "${ZITADEL_MASTERKEY}" --tlsMode disabled' depends_on: chown: diff --git a/docs/docs/guides/installation/loadbalancing-example/docker-compose.yaml b/docs/docs/guides/installation/loadbalancing-example/docker-compose.yaml index 22df9694b..909894310 100644 --- a/docs/docs/guides/installation/loadbalancing-example/docker-compose.yaml +++ b/docs/docs/guides/installation/loadbalancing-example/docker-compose.yaml @@ -15,7 +15,7 @@ services: restart: 'always' networks: - 'zitadel' - image: 'ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.33-amd64' + image: 'ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.39-amd64' command: 'start-from-init --config /example-zitadel-config.yaml --config /example-zitadel-secrets.yaml --steps /example-zitadel-init-steps.yaml --masterkey "${ZITADEL_MASTERKEY}" --tlsMode external' depends_on: chown: diff --git a/docs/docs/guides/installation/run/docker-compose.yaml b/docs/docs/guides/installation/run/docker-compose.yaml index dee9c55a2..23a055bf4 100644 --- a/docs/docs/guides/installation/run/docker-compose.yaml +++ b/docs/docs/guides/installation/run/docker-compose.yaml @@ -5,7 +5,7 @@ services: restart: 'always' networks: - 'zitadel' - image: 'ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.33-amd64' + image: 'ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.39-amd64' command: 'start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled' environment: - 'ZITADEL_DATABASE_HOST=db' diff --git a/docs/docs/guides/installation/run/knative.mdx b/docs/docs/guides/installation/run/knative.mdx index fe16b2da1..32a29e9fd 100644 --- a/docs/docs/guides/installation/run/knative.mdx +++ b/docs/docs/guides/installation/run/knative.mdx @@ -35,7 +35,7 @@ kubectl apply -f https://raw.githubusercontent.com/zitadel/zitadel/v2-alpha/depl # start zitadel kn service create zitadel \ ---image ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.33-amd64 \ +--image ghcr.io/zitadel/zitadel:v2.0.0-v2-alpha.39-amd64 \ --port 8080 \ --env ZITADEL_DATABASE_HOST=cockroachdb \ --env ZITADEL_EXTERNALSECURE=false \ diff --git a/docs/docs/guides/installation/run/linux.mdx b/docs/docs/guides/installation/run/linux.mdx index 292c7acb4..5652d5d41 100644 --- a/docs/docs/guides/installation/run/linux.mdx +++ b/docs/docs/guides/installation/run/linux.mdx @@ -7,10 +7,10 @@ ZITADEL is tested against CockroachDB v22.1.0 and Ubuntu 20.04. ```bash # Run a CockroachDB instance -cockroach start-single-node --insecure --background --http-addr :9090 +cockroach start-single-node --insecure --background --http-addr :9090 --listen-addr=localhost # Download the zitadel binary -curl -s https://api.github.com/repos/zitadel/zitadel/releases/tags/v2.0.0-v2-alpha.24 | grep "browser_download_url.*zitadel_Linux_$(uname -i).tar.gz" | cut -d '"' -f 4 | xargs wget -qO - | sudo tar --extract --gzip --overwrite --directory /usr/local/bin zitadel && sudo chown $(id -u):$(id -g) /usr/local/bin/zitadel +curl -s https://api.github.com/repos/zitadel/zitadel/releases/tags/v2.0.0-v2-alpha.39 | grep "browser_download_url.*zitadel_Linux_$(uname -i).tar.gz" | cut -d '"' -f 4 | xargs wget -qO - | sudo tar --extract --gzip --overwrite --directory /usr/local/bin zitadel && sudo chown $(id -u):$(id -g) /usr/local/bin/zitadel # Run the zitadel binary ZITADEL_EXTERNALSECURE=false zitadel start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled diff --git a/docs/docs/guides/installation/run/macos.mdx b/docs/docs/guides/installation/run/macos.mdx index ae80407c5..e60e3c125 100644 --- a/docs/docs/guides/installation/run/macos.mdx +++ b/docs/docs/guides/installation/run/macos.mdx @@ -8,7 +8,7 @@ ZITADEL is tested against CockroachDB v22.1.0. Run a CockroachDB instance ```bash -cockroach start-single-node --insecure --background --http-addr :9090 +cockroach start-single-node --insecure --background --http-addr :9090 --listen-addr=localhost ``` # Download and Install ZITADEL @@ -23,7 +23,7 @@ brew install zitadel/tap/zitadel ```bash export MY_ARCHITECTURE="arm64 or amd64 depeding on your mac" -curl -s https://api.github.com/repos/zitadel/zitadel/releases/tags/v2.0.0-v2-alpha.24 | grep "browser_download_url.*zitadel_Darwin_${MY_ARCHITECTURE}.tar.gz" | cut -d '"' -f 4 | xargs wget -qO - | sudo tar --extract --gzip --overwrite --directory /usr/local/bin zitadel && sudo chown $(id -u):$(id -g) /usr/local/bin/zitadel +curl -s https://api.github.com/repos/zitadel/zitadel/releases/tags/v2.0.0-v2-alpha.39 | grep "browser_download_url.*zitadel_Darwin_${MY_ARCHITECTURE}.tar.gz" | cut -d '"' -f 4 | xargs wget -qO - | sudo tar --extract --gzip --overwrite --directory /usr/local/bin zitadel && sudo chown $(id -u):$(id -g) /usr/local/bin/zitadel ``` Run ZITADEL