Enable Forgejo Actions and Recreate deployment strategy
Actions are required for CI runners. Recreate avoids leveldb queue lock contention on the shared PVC during Helm upgrades.
This commit is contained in:
parent
75698636c6
commit
f49be83f7e
2 changed files with 15 additions and 1 deletions
|
|
@ -60,6 +60,14 @@ make forgejo-status
|
||||||
make forgejo-smoke
|
make forgejo-smoke
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Upgrade notes
|
||||||
|
|
||||||
|
- Pin `FORGEJO_CHART_VERSION=12.5.0` — chart 12.6+ requires Gitea 1.26 `config edit-ini`.
|
||||||
|
- `strategy.type: Recreate` in `helm/forgejo-values.yaml` — avoids leveldb queue lock
|
||||||
|
on the shared RWO PVC during rolling updates.
|
||||||
|
- Actions enabled via `gitea.config.actions.ENABLED: true`.
|
||||||
|
- Ingress backend service name is `forgejo-gitea-http` (Helm release naming).
|
||||||
|
|
||||||
## Day-2 operator targets
|
## Day-2 operator targets
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,9 @@
|
||||||
# Non-secret Forgejo Helm values (gitea-charts/gitea chart + Forgejo image).
|
# Non-secret Forgejo Helm values (gitea-charts/gitea chart + Forgejo image).
|
||||||
# Layer helm/forgejo-secrets.sops.yaml for database password and admin credentials.
|
# Layer helm/forgejo-secrets.sops.yaml for database password and admin credentials.
|
||||||
|
# Recreate avoids leveldb queue lock fights on the shared RWO PVC during upgrades.
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
service:
|
service:
|
||||||
http:
|
http:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|
@ -45,3 +49,5 @@ gitea:
|
||||||
DISABLE_SSH: false
|
DISABLE_SSH: false
|
||||||
service:
|
service:
|
||||||
DISABLE_REGISTRATION: true
|
DISABLE_REGISTRATION: true
|
||||||
|
actions:
|
||||||
|
ENABLED: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue