Skip to content

Commit

Permalink
Fixed command
Browse files Browse the repository at this point in the history
  • Loading branch information
rchakode authored Mar 11, 2024
1 parent 9969ff0 commit 1798853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/create-kubeconfig-with-minimal-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 1798853

Please sign in to comment.