From 13e0b272c06fda9dca62a117c8e249684e456b4f Mon Sep 17 00:00:00 2001 From: Dan Jahner Date: Fri, 2 Oct 2020 13:59:14 -0700 Subject: [PATCH] Docs only: Use consistent sample user name --- deploy-local-user-authenticator/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy-local-user-authenticator/README.md b/deploy-local-user-authenticator/README.md index 76851982..d1d2f404 100644 --- a/deploy-local-user-authenticator/README.md +++ b/deploy-local-user-authenticator/README.md @@ -50,11 +50,11 @@ Either [install `ytt`](https://get-ytt.io/) or use the [container image from Doc Use `kubectl` to create, edit, and delete user accounts by creating a `Secret` for each user account in the same namespace where local-user-authenticator is deployed. The name of the `Secret` resource is the username. Store the user's group membership and `bcrypt` encrypted password as the contents of the `Secret`. -For example, to create a user named `ryan` with the password `password123` +For example, to create a user named `pinny-the-seal` with the password `password123` who belongs to the groups `group1` and `group2`, use: ```bash -kubectl create secret generic ryan \ +kubectl create secret generic pinny-the-seal \ --namespace local-user-authenticator \ --from-literal=groups=group1,group2 \ --from-literal=passwordHash=$(htpasswd -nbBC 10 x password123 | sed -e "s/^x://") @@ -109,7 +109,7 @@ is configured as an identity provider for Pinniped. "apiVersion": "authentication.k8s.io/v1beta1", "kind": "TokenReview", "spec": { - "token": "ryan:password123" + "token": "pinny-the-seal:password123" } }' ``` @@ -128,7 +128,7 @@ is configured as an identity provider for Pinniped. "status": { "authenticated": true, "user": { - "username": "ryan", + "username": "pinny-the-seal", "uid": "19c433ec-8f58-44ca-9ef0-2d1081ccb876", "groups": [ "group1",