diff --git a/doc/user-guides/authzed.md b/doc/user-guides/auth/authzed.md similarity index 85% rename from doc/user-guides/authzed.md rename to doc/user-guides/auth/authzed.md index ee93ed54c..5e856e083 100644 --- a/doc/user-guides/authzed.md +++ b/doc/user-guides/auth/authzed.md @@ -2,43 +2,24 @@ This guide explains how to configure permission requests for a Google Zanzibar-based [Authzed/SpiceDB](https://authzed.com) instance using gRPC. -## Requisites +## Prerequisites -- [Docker](https://docker.io) +You have installed Kuadrant in a [kubernetes](https://docs.kuadrant.io/latest/kuadrant-operator/doc/install/install-kubernetes/) or [OpenShift](https://docs.kuadrant.io/latest/kuadrant-operator/doc/install/install-openshift/) cluster. -## Run the guide ① → ⑥ +## Run the guide ① → ⑦ -### ① Setup +### ① Deploy Toy Store application -Clone the repo: +Deploy a simple HTTP application service that echoes back the request data: ```sh -git clone git@github.com:Kuadrant/kuadrant-operator.git && cd kuadrant-operator +kubectl apply -f https://raw.githubusercontent.com/Kuadrant/kuadrant-operator/refs/heads/main/examples/toystore/toystore.yaml ``` -Run the following command to create a local Kubernetes cluster with [Kind](https://kind.sigs.k8s.io/), install & deploy Kuadrant: +### ② Expose the Application +Create an `HTTPRoute` to expose a `/posts` path for `GET` and `POST` requests to the application: ```sh -make local-setup -``` - -Request an instance of Kuadrant in the `kuadrant-system` namespace: - -```sh -kubectl -n kuadrant-system apply -f - <