add doc & env for backup deployment

This commit is contained in:
Michael Jerger 2025-01-14 10:15:04 +01:00
parent aa0d8d3a2e
commit 0310db05a3
3 changed files with 11 additions and 2 deletions

View file

@ -52,9 +52,8 @@ Mirrors are:
For more details about our repository model see: https://repo.prod.meissa.de/meissa/federate-your-repos
## License
Copyright © 2023, 2024 meissa GmbH
Copyright © 2023, 2024, 2025 meissa GmbH
Licensed under the [Apache License, Version 2.0](LICENSE) (the "License")
Pls. find licenses of our subcomponents [here](doc/SUBCOMPONENT_LICENSE)

8
doc/FirstSteps.md Normal file
View 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"`

View file

@ -57,6 +57,8 @@ spec:
key: restic-repository
- name: RESTIC_PASSWORD_FILE
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
value: ""
volumeMounts: