Skip to content

Commit

Permalink
Merge branch 'master' into fix/watch-app-in-namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
pasha-codefresh committed Jul 13, 2023
2 parents e29963e + 0fd5a99 commit 333724d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/operator-manual/user-management/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,24 @@ Each user might have two capabilities:
* apiKey - allows generating authentication tokens for API access
* login - allows to login using UI
### Delete user
In order to delete a user, you must remove the corresponding entry defined in the `argocd-cm` ConfigMap:

Example:

```bash
kubectl patch -n argocd cm argocd-cm --type='json' -p='[{"op": "remove", "path": "/data/accounts.alice"}]'
```

It is recommended to also remove the password entry in the `argocd-secret` Secret:

Example:

```bash
kubectl patch -n argocd secrets argocd-secret --type='json' -p='[{"op": "remove", "path": "/data/accounts.alice.password"}]'
```

### Disable admin user

As soon as additional users are created it is recommended to disable `admin` user:
Expand Down

0 comments on commit 333724d

Please sign in to comment.