docs/admin: add context to authz webhook example kubeconfig

This commit is contained in:
Eric Chiang
2016-03-14 13:57:08 -07:00
parent 81bf536b2a
commit e67856d224
+8
View File
@@ -161,6 +161,14 @@ users:
user:
client-certificate: /path/to/cert.pem # cert for the webhook plugin to use
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