FIX(gitea): use Recreate strategy
- SQLite and LevelDB require exclusive file access - RollingUpdate causes lock conflicts with two pods
This commit is contained in:
@@ -111,6 +111,9 @@ resources:
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
# POD CONFIGURATION
|
# POD CONFIGURATION
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/control-plane
|
- key: node-role.kubernetes.io/control-plane
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
|||||||
Reference in New Issue
Block a user