Skip to content

Commit 9bafcf4

Browse files
feat: don't merge global constaints
1 parent 2194c98 commit 9bafcf4

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

charts/cf-common-test/tests/deployment/spec_test.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ tests:
159159
path: spec.template.spec.nodeSelector
160160
value:
161161
alice: bob
162-
162+
163163
- it: Test deployment nodeSelector with global nodeSelector
164164
values:
165165
- values.yaml
@@ -228,12 +228,6 @@ tests:
228228
effect: NoSchedule
229229
key: codefresh.io
230230
value: app
231-
- contains:
232-
path: spec.template.spec.tolerations
233-
content:
234-
effect: NoSchedule
235-
key: worker
236-
value: true
237231

238232
- it: Test deployments affinity
239233
values:
@@ -316,14 +310,6 @@ tests:
316310
- equal:
317311
path: spec.template.spec.affinity
318312
value:
319-
nodeAffinity:
320-
requiredDuringSchedulingIgnoredDuringExecution:
321-
nodeSelectorTerms:
322-
- matchExpressions:
323-
- key: node-type
324-
operator: In
325-
values:
326-
- app
327313
podAffinity:
328314
requiredDuringSchedulingIgnoredDuringExecution:
329315
- labelSelector:

0 commit comments

Comments
 (0)