REFACTOR(gitea): change gitea Deployment strategy
- Fix OutOfSync issue caused by kubectl.kubernetes.io/restartedAt annotation - Prevent leveldb lock conflicts during updates - Recreate strategy ensures clean pod replacement
This commit is contained in:
@@ -110,6 +110,10 @@ deployment:
|
|||||||
name: gitea-postgres-password
|
name: gitea-postgres-password
|
||||||
key: password
|
key: password
|
||||||
|
|
||||||
|
# Deployment strategy: Recreate to avoid leveldb lock conflicts
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
# Persistence for Gitea data
|
# Persistence for Gitea data
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user