fix: change OIDC disabled to enabled (#6396)

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 15:15:03 +02:00 committed by GitHub
parent 8e4699820a
commit c799f99cc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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