From ac59bbe7052af37e4224e13fc0f18a8a26cdd3af Mon Sep 17 00:00:00 2001 From: KevFan Date: Wed, 20 Nov 2024 12:02:33 +0000 Subject: [PATCH] guides: auth anonymous access Signed-off-by: KevFan --- doc/user-guides/anonymous-access.md | 177 ++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 doc/user-guides/anonymous-access.md diff --git a/doc/user-guides/anonymous-access.md b/doc/user-guides/anonymous-access.md new file mode 100644 index 000000000..135da3911 --- /dev/null +++ b/doc/user-guides/anonymous-access.md @@ -0,0 +1,177 @@ +# Enforcing anonymous access with Kuadrant AuthPolicy + +Learn how to allow anonymous access to certain endpoints using Kuadrant's `AuthPolicy` + +## Requisites + +- [Docker](https://docker.io) + +## Run the guide ① → ④ + +### ① Setup + +Clone the repo: + +```sh +git clone git@github.com:Kuadrant/kuadrant-operator.git && cd kuadrant-operator +``` + +Run the following command to create a local Kubernetes cluster with [Kind](https://kind.sigs.k8s.io/), install & deploy Kuadrant: + +```sh +make local-setup +``` + +Request an instance of Kuadrant in the `kuadrant-system` namespace: + +```sh +kubectl -n kuadrant-system apply -f - <