From d901a9475df8292edef97cd3f94b6805ac29af38 Mon Sep 17 00:00:00 2001 From: fquinino <72146942+fquinino@users.noreply.github.com> Date: Sun, 29 Aug 2021 16:07:25 -0400 Subject: [PATCH] Update exec.md According to the task description this service account was created on namespace my-ns, so the syntax must be : in this current solution is showing namespace default, I guess it's a typo error. --- Task2/solution/exec.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Task2/solution/exec.md b/Task2/solution/exec.md index 731310d..2e9c127 100644 --- a/Task2/solution/exec.md +++ b/Task2/solution/exec.md @@ -15,8 +15,8 @@ $ kubectl create clusterrole new-cluster-role --verb=create,list --resource=daem Verification: -$ kubectl create clusterrolebinding new-cluster-role-binding --clusterrole=new-cluster-role --serviceaccount=default:my-sa -n my-ns --dry-run -o yaml +$ kubectl create clusterrolebinding new-cluster-role-binding --clusterrole=new-cluster-role --serviceaccount=my-ns:my-sa -n my-ns --dry-run -o yaml To create ClusterRoleBinding -$ kubectl create clusterrolebinding new-cluster-role-binding --clusterrole=new-cluster-role --serviceaccount=default:my-sa -n my-ns -``` \ No newline at end of file +$ kubectl create clusterrolebinding new-cluster-role-binding --clusterrole=new-cluster-role --serviceaccount=my-ns:my-sa -n my-ns +```