From 5395428902b8d463f098d699d9ea4abe69cfad2c Mon Sep 17 00:00:00 2001 From: ange Date: Sun, 22 Dec 2024 06:37:39 +0000 Subject: [PATCH] fix typo --- manifests/common/createadmin.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/manifests/common/createadmin.yaml b/manifests/common/createadmin.yaml index 3afa493..9355cd0 100644 --- a/manifests/common/createadmin.yaml +++ b/manifests/common/createadmin.yaml @@ -16,14 +16,13 @@ spec: command: - bash - -c - - | - gitea admin user change-password --must-change-password=false - --username "$username" - --password "$password" - || gitea admin user create --admin --must-change-password=false - --email "$email" - --username "$username" - --password "$password" + - gitea admin user change-password --must-change-password=false \ + --username "$username" \ + --password "$password" \ + || gitea admin user create --admin --must-change-password=false \ + --email "$email" \ + --username "$username" \ + --password "$password" \ volumeMounts: - name: config mountPath: /etc/gitea/app.ini