From 15bffc6b162c3846b1082ce0380404eb05d6fe54 Mon Sep 17 00:00:00 2001 From: Jake Knostman Date: Fri, 20 Nov 2020 12:31:23 -0800 Subject: [PATCH] Update site demo to use pinniped-concierge namespace --- site/content/docs/demo.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site/content/docs/demo.md b/site/content/docs/demo.md index 027e5b11..0f0b6209 100644 --- a/site/content/docs/demo.md +++ b/site/content/docs/demo.md @@ -122,7 +122,7 @@ as the identity provider. 1. Create a `WebhookAuthenticator` object to configure Pinniped to authenticate using local-user-authenticator. ```bash - cat < /tmp/pinniped-kubeconfig + pinniped get-kubeconfig --pinniped-namespace pinniped-concierge --token "pinny-the-seal:password123" --authenticator-type webhook --authenticator-name local-user-authenticator > /tmp/pinniped-kubeconfig ``` If you are using MacOS, you may get an error dialog that says @@ -163,7 +163,7 @@ as the identity provider. the `pinny-the-seal` user. ```bash - kubectl --kubeconfig /tmp/pinniped-kubeconfig get pods -n pinniped + kubectl --kubeconfig /tmp/pinniped-kubeconfig get pods -n pinniped-concierge ``` Because this user has no RBAC permissions on this cluster, the previous command @@ -180,7 +180,7 @@ as the identity provider. 1. Use the generated kubeconfig to issue arbitrary `kubectl` commands as the `pinny-the-seal` user. ```bash - kubectl --kubeconfig /tmp/pinniped-kubeconfig get pods -n pinniped + kubectl --kubeconfig /tmp/pinniped-kubeconfig get pods -n pinniped-concierge ``` The user has permission to list pods, so the command succeeds this time.