fix: Add Recreate strategy to Kubernetes deployment (#1893)

This commit is contained in:
Kroese
2026-07-19 03:01:27 +02:00
committed by GitHub
parent 2a24e1a4c7
commit bd147e236b
2 changed files with 3 additions and 3 deletions
+1 -3
View File
@@ -31,6 +31,4 @@ jobs:
file-endings: ".xml" file-endings: ".xml"
- -
name: Validate JSON and YML files name: Validate JSON and YML files
uses: GrantBirki/json-yaml-validate@v5.0.0 uses: GrantBirki/json-yaml-validate@v5
with:
yaml_exclude_regex: ".*\\kubernetes\\.yml$"
+2
View File
@@ -18,6 +18,8 @@ metadata:
name: windows name: windows
spec: spec:
replicas: 1 replicas: 1
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
app: windows app: windows