Use Recreate strategy for persistent apps

This commit is contained in:
2026-06-23 15:27:31 +00:00
parent 67790fd511
commit 91728b8a1b
4 changed files with 22 additions and 0 deletions
@@ -0,0 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: uptime-kuma
namespace: uptime-kuma
spec:
strategy:
type: Recreate
+3
View File
@@ -7,3 +7,6 @@ resources:
- namespace.yaml - namespace.yaml
- pvc.yaml - pvc.yaml
- service.yaml - service.yaml
patches:
- path: deployment-strategy-patch.yaml
@@ -0,0 +1,8 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: vaultwarden
namespace: vaultwarden
spec:
strategy:
type: Recreate
@@ -3,3 +3,6 @@ kind: Kustomization
resources: resources:
- vaultwarden.yaml - vaultwarden.yaml
patches:
- path: deployment-strategy-patch.yaml