Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 20, 2025
1 parent 429b9be commit 0dcb4bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions authN-authZ/auth-apisix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Please refer to [GenAIExamples ChatQnA](https://github.com/opea-project/GenAIExa

In this stage, we run keycloak, setup a realm with OIDC based authentication. For demonstration, we will add a realm called `apisix` and add a user called `mary` with password. In the authentication step, only the user from `apisix` realm can access the chatQnA pipeline.

### Step 1: Prerequisite.
### Step 1: Prerequisite.

Create a PersistentVolume of 9Gi for keycloak-postgress with RWO access (to persist updated keycloak configuration)

```sh
Expand Down Expand Up @@ -59,7 +60,7 @@ The user management is done via Keycloak and the configuration steps look like t

1. Create a new realm named `apisix` within Keycloak.

2. Create a new client called `apisix`, set `Client authentication` to `On`, `Save` setting and go to the `Credentials` page, copy `Client Secret` for later use.
2. Create a new client called `apisix`, set `Client authentication` to `On`, `Save` setting and go to the `Credentials` page, copy `Client Secret` for later use.

3. From the left pane select the Realm roles and create a new role name as `user`.

Expand Down Expand Up @@ -88,7 +89,7 @@ cd /opt/keycloak/bin/
./kcadm.sh update realms/master -s sslRequired=NONE --server ${KEYCLOAK_ADDR}
```

Then goto the Keycloak console and find the "Realm setting" for `apisix` realm, set "Require SSL" to "None".
Then goto the Keycloak console and find the "Realm setting" for `apisix` realm, set "Require SSL" to "None".

## Install APISIX

Expand Down
2 changes: 1 addition & 1 deletion authN-authZ/auth-istio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ cd /opt/keycloak/bin/
./kcadm.sh update realms/master -s sslRequired=NONE --server ${KEYCLOAK_ADDR}
```
Then goto the Keycloak console and find the "Realm setting" for `apisix` realm, set "Require SSL" to "None".
Then goto the Keycloak console and find the "Realm setting" for `apisix` realm, set "Require SSL" to "None".
**Export the router service through istio ingress gateway**
Expand Down

0 comments on commit 0dcb4bb

Please sign in to comment.