From c64be9758f7e0c078ac8c6d27ec383b14253e3e0 Mon Sep 17 00:00:00 2001
From: Moritz Hedtke <Moritz.Hedtke@t-online.de>
Date: Sat, 5 Nov 2022 21:19:25 +0100
Subject: [PATCH] helm: Add documentation to run tootctl commands (#19791)

---
 chart/readme.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/chart/readme.md b/chart/readme.md
index 381037cc1a..edcc973bcd 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:
-- 
GitLab