parent
5fc4963f7c
commit
5395428902
@ -16,14 +16,13 @@ spec:
|
|||||||
command:
|
command:
|
||||||
- bash
|
- bash
|
||||||
- -c
|
- -c
|
||||||
- |
|
- gitea admin user change-password --must-change-password=false \
|
||||||
gitea admin user change-password --must-change-password=false
|
--username "$username" \
|
||||||
--username "$username"
|
--password "$password" \
|
||||||
--password "$password"
|
|| gitea admin user create --admin --must-change-password=false \
|
||||||
|| gitea admin user create --admin --must-change-password=false
|
--email "$email" \
|
||||||
--email "$email"
|
--username "$username" \
|
||||||
--username "$username"
|
--password "$password" \
|
||||||
--password "$password"
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /etc/gitea/app.ini
|
mountPath: /etc/gitea/app.ini
|
||||||
|
Loading…
Reference in New Issue
Block a user