From 5f7851768b31cec733ca6d4e1b5aa4e409c129df Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Thu, 7 Aug 2025 18:27:24 +0200 Subject: [PATCH] docs(self-hosting): remove Knative example (#10342) # Which Problems Are Solved The Knative docs are removed, as they are not relevant enough. # How the Problems Are Solved - The docs page is removed - The sidebar item is removed # Additional Context - Partially Closes #10016 --- docs/docs/self-hosting/deploy/knative.mdx | 67 ----------------------- docs/sidebars.js | 1 - 2 files changed, 68 deletions(-) delete mode 100644 docs/docs/self-hosting/deploy/knative.mdx diff --git a/docs/docs/self-hosting/deploy/knative.mdx b/docs/docs/self-hosting/deploy/knative.mdx deleted file mode 100644 index 0c8e7f0a36..0000000000 --- a/docs/docs/self-hosting/deploy/knative.mdx +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: Set up ZITADEL on Knative -sidebar_label: Knative ---- - -import Disclaimer from './_disclaimer.mdx' -import DefaultUser from './_defaultuser.mdx' -import Next from './_next.mdx' -import NoteInstanceNotFound from './troubleshooting/_note_instance_not_found.mdx'; - - -## Install Knative - -Follow the [Knative quickstart guide](https://knative.dev/docs/getting-started/quickstart-install/) to get a local kind/minikube environment with Knative capabilities. - -For example, to install Knative on a kind cluster, run `kn quickstart kind`. - -## Run PostgreSQL - -If you are following the Knative Tutorial, you can deploy Postgres as a StatefulSet for the tutorials Bookstore sample app. For example: - -```bash -git clone https://github.com/knative/docs.git -kubectl apply -f docs/code-samples/eventing/bookstore-sample-app/solution/db-service/ -``` - -## Start Zitadel as a Knative Service - -```bash -kn service create zitadel \ ---image ghcr.io/zitadel/zitadel:latest \ ---port 8080 \ ---env ZITADEL_EXTERNALDOMAIN=zitadel.default.127.0.0.1.sslip.io \ ---env ZITADEL_EXTERNALSECURE=false \ ---env ZITADEL_EXTERNALPORT=80 \ ---env ZITADEL_TLS_ENABLED=false \ ---env ZITADEL_DATABASE_POSTGRES_HOST=postgresql \ ---env ZITADEL_DATABASE_POSTGRES_PORT=5432 \ ---env ZITADEL_DATABASE_POSTGRES_DATABASE=zitadel \ ---env ZITADEL_DATABASE_POSTGRES_USER_USERNAME=myzitadeluser \ ---env ZITADEL_DATABASE_POSTGRES_USER_PASSWORD=myzitadelpassword \ ---env ZITADEL_DATABASE_POSTGRES_USER_SSL_MODE=disable \ ---env ZITADEL_DATABASE_POSTGRES_ADMIN_USERNAME=myuser \ ---env ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD=mypassword \ ---env ZITADEL_DATABASE_POSTGRES_ADMIN_SSL_MODE=disable \ ---env ZITADEL_FIRSTINSTANCE_ORG_HUMAN_PASSWORDCHANGEREQUIRED=false \ ---env ZITADEL_DEFAULTINSTANCE_LOGINPOLICY_MFAINITSKIPLIFETIME="0s" \ ---arg "start-from-init" --arg "--masterkey=MasterkeyNeedsToHave32Characters" -``` - -## Access ZITADEL - -### Get the ZITADEL URL - -```bash -kn services list - -NAME URL LATEST AGE CONDITIONS READY REASON -zitadel http://zitadel.default.127.0.0.1.sslip.io zitadel-00001 10m 3 OK / 3 True -``` - -Open your browser at http://zitadel.default.127.0.0.1.sslip.io/ui/console?login_hint=zitadel-admin@zitadel.zitadel.default.127.0.0.1.sslip.io and use the initial password _Password1!_ - - - - - diff --git a/docs/sidebars.js b/docs/sidebars.js index aa11908a44..11f905db8b 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -1082,7 +1082,6 @@ module.exports = { "self-hosting/deploy/macos", "self-hosting/deploy/compose", "self-hosting/deploy/devcontainer", - "self-hosting/deploy/knative", "self-hosting/deploy/kubernetes", "self-hosting/deploy/troubleshooting/troubleshooting", ],