diff --git a/doc/user-guides/anonymous-access.md b/doc/user-guides/auth/anonymous-access.md similarity index 69% rename from doc/user-guides/anonymous-access.md rename to doc/user-guides/auth/anonymous-access.md index 135da3911..4cc44184d 100644 --- a/doc/user-guides/anonymous-access.md +++ b/doc/user-guides/auth/anonymous-access.md @@ -2,43 +2,24 @@ Learn how to allow anonymous access to certain endpoints using Kuadrant's `AuthPolicy` -## 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 ① → ⑦ +### ① Deploy Toy Store application -### ① Setup - -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: - -```sh -make local-setup -``` +### ② Expose the Application -Request an instance of Kuadrant in the `kuadrant-system` namespace: +Create an `HTTPRoute` to expose an `/cars` and `/public` path to the application: ```sh -kubectl -n kuadrant-system apply -f - <