mirror of
https://github.com/truenas/charts.git
synced 2026-06-16 15:08:11 +08:00
fix tests
This commit is contained in:
@@ -42,15 +42,12 @@ tests:
|
||||
asserts:
|
||||
- documentIndex: *daemonSetDoc
|
||||
isSubset:
|
||||
path: spec
|
||||
path: spec.updateStrategy
|
||||
content:
|
||||
replicas: 2
|
||||
revisionHistoryLimit: 4
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 1
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 1
|
||||
|
||||
- it: should apply spec correctly
|
||||
set:
|
||||
|
||||
@@ -40,15 +40,12 @@ tests:
|
||||
asserts:
|
||||
- documentIndex: *deploymentDoc
|
||||
isSubset:
|
||||
path: spec
|
||||
path: spec.strategy
|
||||
content:
|
||||
replicas: 2
|
||||
revisionHistoryLimit: 4
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 1
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 1
|
||||
|
||||
- it: should apply spec correctly
|
||||
set:
|
||||
|
||||
@@ -42,15 +42,12 @@ tests:
|
||||
asserts:
|
||||
- documentIndex: *statefulSetDoc
|
||||
isSubset:
|
||||
path: spec
|
||||
path: spec.updateStrategy
|
||||
content:
|
||||
replicas: 2
|
||||
revisionHistoryLimit: 4
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
partition: 1
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
partition: 1
|
||||
|
||||
- it: should apply spec correctly
|
||||
set:
|
||||
|
||||
Reference in New Issue
Block a user