From 179885315e1bb742796015f7d0958cf64890eedc Mon Sep 17 00:00:00 2001 From: Rodrigue Chakode Date: Mon, 11 Mar 2024 09:46:51 +0100 Subject: [PATCH] Fixed command --- docs/create-kubeconfig-with-minimal-permissions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/create-kubeconfig-with-minimal-permissions.md b/docs/create-kubeconfig-with-minimal-permissions.md index e8fd2d5..64a6869 100644 --- a/docs/create-kubeconfig-with-minimal-permissions.md +++ b/docs/create-kubeconfig-with-minimal-permissions.md @@ -46,8 +46,8 @@ The created RBAC resources include the following: The following command outputs the token associated to the service account `kube-opex-analytics`. ```bash -oc -n kube-opex-analytics get secret \ - $(oc -n kube-opex-analytics get sa kube-opex-analytics -ojsonpath='{.secrets[0].name}') \ +kubectl -n kube-opex-analytics get secret \ + $(kubectl -n kube-opex-analytics get sa kube-opex-analytics -ojsonpath='{.secrets[0].name}') \ -ojsonpath='{.data.token}' | base64 -d ```