gitea: 웹 로그인 비밀번호 리셋 방법 추가
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Gitea 서버 및 CI/CD
|
title: Gitea 서버 및 CI/CD
|
||||||
updated: 2026-03-15
|
updated: 2026-03-17
|
||||||
---
|
---
|
||||||
|
|
||||||
## 서버
|
## 서버
|
||||||
@@ -48,3 +48,17 @@ K8s CronJob `gitea-backup` (매일 03:00 UTC):
|
|||||||
- `gitea dump` → `/backup/gitea-dump-*.tar.gz`
|
- `gitea dump` → `/backup/gitea-dump-*.tar.gz`
|
||||||
- 7일 보존, Longhorn PVC 10Gi
|
- 7일 보존, Longhorn PVC 10Gi
|
||||||
- 매니페스트: `~/k8s/gitea/backup-cronjob.yaml`
|
- 매니페스트: `~/k8s/gitea/backup-cronjob.yaml`
|
||||||
|
|
||||||
|
## 트러블슈팅
|
||||||
|
|
||||||
|
### 웹 로그인 안 될 때 비밀번호 리셋
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -s -X PATCH "https://gitea.anvil.it.com/api/v1/admin/users/kaffa" \
|
||||||
|
-H "Authorization: token <API_TOKEN>" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{"password":"<PASSWORD>","must_change_password":false,"login_name":"kaffa","source_id":0}'
|
||||||
|
```
|
||||||
|
|
||||||
|
- API 토큰, 비밀번호: Vault `secret/apps/gitea`
|
||||||
|
- 2026-03-17 웹 로그인 불가 → API로 비밀번호 리셋하여 해결
|
||||||
|
|||||||
Reference in New Issue
Block a user