docs/admin: add context to authz webhook example kubeconfig
This commit is contained in:
@@ -161,6 +161,14 @@ users:
|
|||||||
user:
|
user:
|
||||||
client-certificate: /path/to/cert.pem # cert for the webhook plugin to use
|
client-certificate: /path/to/cert.pem # cert for the webhook plugin to use
|
||||||
client-key: /path/to/key.pem # key matching the cert
|
client-key: /path/to/key.pem # key matching the cert
|
||||||
|
|
||||||
|
# kubeconfig files require a context. Provide one for the API Server.
|
||||||
|
current-context: webhook
|
||||||
|
contexts:
|
||||||
|
- context:
|
||||||
|
cluster: name-of-remote-authz-service
|
||||||
|
user: name-of-api-sever
|
||||||
|
name: webhook
|
||||||
```
|
```
|
||||||
|
|
||||||
### Request Payloads
|
### Request Payloads
|
||||||
|
|||||||
Reference in New Issue
Block a user