Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nadavbuc committed Apr 8, 2024
1 parent 43bd558 commit b33dc11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: d3adb5/helm-unittest-action@v2
- run: helm unittest --helm3 karpenter_nodes
4 changes: 2 additions & 2 deletions charts/karpenter_nodes/tests/nodepool_nodes_default_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ tests:
path: spec.template.spec.kubelet.systemReserved.cpu
value: 250m
- equal:
path: spec.template.spec.kubelet.evictionHard.memory\.available
value: 768Mi
path: spec.template.spec.kubelet.kubeReserved.ephemeral-storage
value: 4Gi

- it: Verify nodes-default Options
documentIndex: 0
Expand Down
4 changes: 2 additions & 2 deletions charts/karpenter_nodes/tests/nodepool_nodes_workers_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ tests:
path: spec.template.spec.kubelet.systemReserved.cpu
value: 750m
- equal:
path: spec.template.spec.kubelet.evictionHard.memory\.available
value: 768Mi
path: spec.template.spec.kubelet.kubeReserved.ephemeral-storage
value: 4Gi
- equal:
path: spec.template.spec.kubelet.clusterDNS[0]
value: "1.1.1.1"
Expand Down

0 comments on commit b33dc11

Please sign in to comment.