Skip to content

Commit 3f956b4

Browse files
nabokihmsenj
andcommitted
Mention how to disable APU using a flag
Co-authored-by: Mo Khan <[email protected]> Signed-off-by: m.nabokikh <[email protected]>
1 parent 144f269 commit 3f956b4

File tree

1 file changed

+4
-3
lines changed
  • keps/sig-auth/3325-self-subject-attributes-review-api

1 file changed

+4
-3
lines changed

keps/sig-auth/3325-self-subject-attributes-review-api/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,10 @@ rules:
167167
- create
168168
```
169169
170-
This API is enabled by default and can be disabled by using one of the following options:
171-
1. Deploying a validating admission webhook to the cluster to prevent `create` requests to the `authentication.k8s.io/selfsubjectattributesreviews`.
172-
2. Use the `--runtime-config=authentication.k8s.io/v1=false` kube-apiserver flag to disable the whole API group along with the TokenReview and TokenRequest apis (which does not seem practical).
170+
This API is enabled by default and can be disabled by using the following kube-apiserver flag:
171+
```
172+
--runtime-config=authentication.k8s.io/v1alpha1/selfsubjectattributesreviews=false
173+
```
173174

174175
### Test Plan
175176

0 commit comments

Comments
 (0)