From e67856d224982219c17862270ea088ecc094d724 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Mon, 14 Mar 2016 13:57:08 -0700 Subject: [PATCH] docs/admin: add context to authz webhook example kubeconfig --- docs/admin/authorization.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/admin/authorization.md b/docs/admin/authorization.md index 5442aeb726..2571fb94a8 100644 --- a/docs/admin/authorization.md +++ b/docs/admin/authorization.md @@ -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