From 253d1b40d1b75c6a878666d9eb83689100f3f126 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 4 Dec 2022 00:28:39 +0000
Subject: [PATCH] fix(mastodon): Adjust create job to use correct role

This patch should create the inital Admin with the correct role.

Reference / Cherry-pick from:
https://github.com/mastodon/chart/pull/1/commits/3bf6c8af2d13114d1954d33931bf90886eb6ded2
---
 charts/mastodon/templates/job-create-admin.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/charts/mastodon/templates/job-create-admin.yaml b/charts/mastodon/templates/job-create-admin.yaml
index f28cdab41..3d137f5c7 100644
--- a/charts/mastodon/templates/job-create-admin.yaml
+++ b/charts/mastodon/templates/job-create-admin.yaml
@@ -55,7 +55,7 @@ spec:
             - {{ .Values.mastodon.createAdmin.email }}
             - --confirmed
             - --role
-            - admin
+            - Owner
           envFrom:
             - configMapRef:
                 name: {{ include "mastodon.fullname" . }}-env
-- 
GitLab