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