Merge pull request #123 from ericchiang/webhook_context

docs/admin: add current-context to authz webhook example kubeconfig
pull/155/head
Eric Tune 2016-03-16 14:04:53 -07:00
commit e6c2232a09
1 changed files with 8 additions and 0 deletions

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