mirror of
https://github.com/dockur/windows.git
synced 2026-07-27 21:42:36 +07:00
fix: Add Recreate strategy to Kubernetes deployment (#1893)
This commit is contained in:
@@ -31,6 +31,4 @@ jobs:
|
||||
file-endings: ".xml"
|
||||
-
|
||||
name: Validate JSON and YML files
|
||||
uses: GrantBirki/json-yaml-validate@v5.0.0
|
||||
with:
|
||||
yaml_exclude_regex: ".*\\kubernetes\\.yml$"
|
||||
uses: GrantBirki/json-yaml-validate@v5
|
||||
|
||||
@@ -18,6 +18,8 @@ metadata:
|
||||
name: windows
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: windows
|
||||
|
||||
Reference in New Issue
Block a user