Skip to content

Commit

Permalink
docs: fix web terminal step list numbering (argoproj#11590)
Browse files Browse the repository at this point in the history
docs: fix web terminal step list numbering (argoproj#11590)
Signed-off-by: Nicholas Morey <nicholas@morey.tech>
Signed-off-by: emirot <emirot.nolan@gmail.com>
  • Loading branch information
morey-tech authored and emirot committed Jan 27, 2023
1 parent 4ab7557 commit be4bba8
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions docs/operator-manual/web_based_terminal.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,25 @@ they have the `exec/create` privilege. If the Pod mounts a ServiceAccount token
Kubernetes), then the user effectively has the same privileges as that ServiceAccount.

## Enabling the terminal
<!-- Use indented code blocks for the numbered list to prevent breaking the numbering. See #11590 -->

1. Set the `exec.enabled` key to `"true"` on the `argocd-cm` ConfigMap.

2. Patch the `argocd-server` Role (if using namespaced Argo) or ClusterRole (if using clustered Argo) to allow `argocd-server`
to exec into pods
```yaml
- apiGroups:
- ""
resources:
- pods/exec
verbs:
- create
```

3. Add RBAC rules to allow your users to `create` the `exec` resource, i.e.
```
p, role:myrole, exec, create, */*, allow
```

- apiGroups:
- ""
resources:
- pods/exec
verbs:
- create


3. Add RBAC rules to allow your users to `create` the `exec` resource, i.e.

p, role:myrole, exec, create, */*, allow


See [RBAC Configuration](rbac.md#exec-resource) for more info.

Expand All @@ -42,4 +43,4 @@ By default, Argo CD attempts to execute shells in this order:
4. cmd

If none of the shells are found, the terminal session will fail. To add to or change the allowed shells, change the
`exec.shells` key in the `argocd-cm` ConfigMap, separating them with commas.
`exec.shells` key in the `argocd-cm` ConfigMap, separating them with commas.

0 comments on commit be4bba8

Please sign in to comment.