mirror of
https://github.com/dockur/windows.git
synced 2026-08-03 12:37:20 +01:00
fix: Add Recreate strategy to Kubernetes deployment (#1893)
This commit is contained in:
@@ -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$"
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user