fix: change OIDC disabled to enabled

The `allow-same-namespace` is only used when OIDC is kept enabled and no
`EventPolicy` is active.

Signed-off-by: Stanislav Jakuschevskij <sjakusch@redhat.com>
This commit is contained in:
Stanislav Jakuschevskij 2025-09-18 11:38:40 +02:00
parent 8e4699820a
commit 27b5ff92f7
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ Data,
{"message": "Hi from pingsource-2 from namespace-2"}
```
When we remove now the EventPolicy again and keep OIDC disabled, the Broker will fall back to the default authorization mode, which is `allow-same-namespace`:
When we remove now the EventPolicy again and keep OIDC enabled, the Broker will fall back to the default authorization mode, which is `allow-same-namespace`:
```
$ kubectl -n namespace-1 delete eventpolicy event-policy