Skip to content

Commit

Permalink
Merge pull request #6575 from flands/auth
Browse files Browse the repository at this point in the history
Update docs on authentication
  • Loading branch information
k8s-ci-robot authored Mar 14, 2019
2 parents 9a3bbb6 + 221a368 commit 0bab6d9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
## AWS IAM Authenticator

If you want to turn on AWS IAM Authenticator, you can add this block
to your cluster running Kubernetes 1.10 or newer:
to your cluster running Kubernetes 1.10 or newer via `kops edit cluster ${CLUSTER_NAME}`:

```
authentication:
Expand All @@ -55,7 +55,8 @@ spec:
rbac: {}
```

Once the cluster is up, or after you've performed a rolling update to an existing cluster with `kops rolling-update cluster ${CLUSTER_NAME} --instance-group-roles=Master --force --yes`, you will need to create the AWS IAM authenticator
Once done you need to run `kops update cluster ${CLUSTER_NAME} --yes; kops rolling-update cluster ${CLUSTER_NAME} --instance-group-roles=Master --cloudonly --force --yes`.
Next, you will need to create the AWS IAM authenticator
config as a config map. (This can also be done when boostrapping a cluster using addons)
For more details on AWS IAM authenticator please visit [kubernetes-sigs/aws-iam-authenticator](https://github.com/kubernetes-sigs/aws-iam-authenticator)

Expand Down Expand Up @@ -112,4 +113,4 @@ data:
username: alice
groups:
- system:masters
```
```

0 comments on commit 0bab6d9

Please sign in to comment.