From 5c760e4d0a4889fbd6bcc3ff5ce05c0053c5d4da Mon Sep 17 00:00:00 2001 From: nadav buchman Date: Thu, 15 Aug 2024 11:03:01 +0300 Subject: [PATCH] fix tests --- .../tests/nodepool_nodes_default_class_test.yaml | 4 ++-- .../tests/nodepool_nodes_workers_class_test.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/karpenter_nodes/tests/nodepool_nodes_default_class_test.yaml b/charts/karpenter_nodes/tests/nodepool_nodes_default_class_test.yaml index 3a009f8..7e73aca 100644 --- a/charts/karpenter_nodes/tests/nodepool_nodes_default_class_test.yaml +++ b/charts/karpenter_nodes/tests/nodepool_nodes_default_class_test.yaml @@ -9,8 +9,8 @@ tests: documentIndex: 0 asserts: - equal: - path: spec.template.spec.kubelet.systemReserved.cpu + path: spec.kubelet.systemReserved.cpu value: 250m - equal: - path: spec.template.spec.kubelet.kubeReserved.ephemeral-storage + path: spec.kubelet.kubeReserved.ephemeral-storage value: 4Gi diff --git a/charts/karpenter_nodes/tests/nodepool_nodes_workers_class_test.yaml b/charts/karpenter_nodes/tests/nodepool_nodes_workers_class_test.yaml index a9589fa..e12c089 100644 --- a/charts/karpenter_nodes/tests/nodepool_nodes_workers_class_test.yaml +++ b/charts/karpenter_nodes/tests/nodepool_nodes_workers_class_test.yaml @@ -9,14 +9,14 @@ tests: documentIndex: 3 asserts: - equal: - path: spec.template.spec.kubelet.systemReserved.cpu + path: spec.kubelet.systemReserved.cpu value: 750m - equal: - path: spec.template.spec.kubelet.kubeReserved.ephemeral-storage + path: spec.kubelet.kubeReserved.ephemeral-storage value: 4Gi - equal: - path: spec.template.spec.kubelet.clusterDNS[0] + path: spec.kubelet.clusterDNS[0] value: "1.1.1.1" - equal: - path: spec.template.spec.kubelet.clusterDNS[1] + path: spec.kubelet.clusterDNS[1] value: "2.2.2.2"