parent
5fc4963f7c
commit
5395428902
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user