about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMoritz Hedtke <Moritz.Hedtke@t-online.de>2022-11-05 21:19:25 +0100
committerGitHub <noreply@github.com>2022-11-05 21:19:25 +0100
commitc64be9758f7e0c078ac8c6d27ec383b14253e3e0 (patch)
tree065d74f8927a992f28f6aab9bd42271c8c79e603
parentd1de7fb7fa561a76c30f3b1f60b82856443ed4b3 (diff)
helm: Add documentation to run tootctl commands (#19791)
-rw-r--r--chart/readme.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/chart/readme.md b/chart/readme.md
index 381037cc1..edcc973bc 100644
--- a/chart/readme.md
+++ b/chart/readme.md
@@ -19,6 +19,20 @@ The variables that _must_ be configured are:
 
 - SMTP settings for your mailer in the `mastodon.smtp` group.
 
+# Administration
+
+You can run [admin CLI](https://docs.joinmastodon.org/admin/tootctl/) commands in the web deployment.
+
+```bash
+kubectl -n mastodon exec -it deployment/mastodon-web -- bash
+tootctl accounts modify admin --reset-password
+```
+
+or
+```bash
+kubectl -n mastodon exec -it deployment/mastodon-web -- tootctl accounts modify admin --reset-password
+```
+
 # Missing features
 
 Currently this chart does _not_ support: