add doc & env for backup deployment
This commit is contained in:
parent
aa0d8d3a2e
commit
0310db05a3
3 changed files with 11 additions and 2 deletions
|
@ -52,9 +52,8 @@ Mirrors are:
|
||||||
|
|
||||||
For more details about our repository model see: https://repo.prod.meissa.de/meissa/federate-your-repos
|
For more details about our repository model see: https://repo.prod.meissa.de/meissa/federate-your-repos
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Copyright © 2023, 2024 meissa GmbH
|
Copyright © 2023, 2024, 2025 meissa GmbH
|
||||||
Licensed under the [Apache License, Version 2.0](LICENSE) (the "License")
|
Licensed under the [Apache License, Version 2.0](LICENSE) (the "License")
|
||||||
Pls. find licenses of our subcomponents [here](doc/SUBCOMPONENT_LICENSE)
|
Pls. find licenses of our subcomponents [here](doc/SUBCOMPONENT_LICENSE)
|
8
doc/FirstSteps.md
Normal file
8
doc/FirstSteps.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# First Steps
|
||||||
|
|
||||||
|
## Create admin user
|
||||||
|
|
||||||
|
1. exec into pod and execute restore pod (press tab to get your exact pod name)
|
||||||
|
`kubectl -n forgejo exec -it backup-restore-... -- bash`
|
||||||
|
2. create admin user
|
||||||
|
`su git -c "gitea admin user create --username [login] --password [password] -email "email"--admin"`
|
|
@ -57,6 +57,8 @@ spec:
|
||||||
key: restic-repository
|
key: restic-repository
|
||||||
- name: RESTIC_PASSWORD_FILE
|
- name: RESTIC_PASSWORD_FILE
|
||||||
value: /var/run/secrets/backup-secrets/restic-password
|
value: /var/run/secrets/backup-secrets/restic-password
|
||||||
|
- name: RESTIC_NEW_PASSWORD_FILE
|
||||||
|
value: /var/run/secrets/backup-secrets/restic-new-password
|
||||||
- name: CERTIFICATE_FILE
|
- name: CERTIFICATE_FILE
|
||||||
value: ""
|
value: ""
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
Loading…
Reference in a new issue