Skip to content

Commit

Permalink
unittest for resources
Browse files Browse the repository at this point in the history
  • Loading branch information
smerle33 committed Oct 4, 2023
1 parent 9433951 commit 7f1382d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/reports/tests/custom_values_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ tests:
set:
htmlVolume:
hostPath: /host
resources:
cpu: 100ms
asserts:
- hasDocuments:
count: 1
Expand All @@ -29,6 +31,9 @@ tests:
- equal:
path: spec.template.spec.volumes[0].hostPath
value: /host
- equal:
path: spec.template.spec.containers[0].resources.cpu
value: 100ms
- it: should create a PDB with defaults when multiple replicas are set
template: pdb.yaml
set:
Expand Down

0 comments on commit 7f1382d

Please sign in to comment.