From cb8aae1b0dbeb6a75e7f735dceb4e762232ffa45 Mon Sep 17 00:00:00 2001 From: Indradhanush Gupta Date: Wed, 14 Nov 2018 14:34:12 -0800 Subject: [PATCH] Fix instructions to start minikube with RBAC (#11002) When starting minikube with `--extra-config=apiserver.Authorization.Mode=RBAC`, the apiserver container exits with the following error: ``` error: unknown flag: --Authorization.Mode ``` Starting it with `--extra-config=apiserver.authorization-mode=RBAC` instead fixes the issue. --- content/en/docs/setup/minikube.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/setup/minikube.md b/content/en/docs/setup/minikube.md index 418c4944b9..7f1cc4e4b8 100644 --- a/content/en/docs/setup/minikube.md +++ b/content/en/docs/setup/minikube.md @@ -258,7 +258,7 @@ To change the `MaxPods` setting to 5 on the Kubelet, pass this flag: `--extra-co This feature also supports nested structs. To change the `LeaderElection.LeaderElect` setting to `true` on the scheduler, pass this flag: `--extra-config=scheduler.LeaderElection.LeaderElect=true`. -To set the `AuthorizationMode` on the `apiserver` to `RBAC`, you can use: `--extra-config=apiserver.Authorization.Mode=RBAC`. +To set the `AuthorizationMode` on the `apiserver` to `RBAC`, you can use: `--extra-config=apiserver.authorization-mode=RBAC`. ### Stopping a Cluster The `minikube stop` command can be used to stop your cluster.