From 278411aefd6900b948879e583f04e5b97b4de772 Mon Sep 17 00:00:00 2001 From: Eddie Torres Date: Tue, 6 Feb 2024 20:59:43 +0000 Subject: [PATCH] Incorporate KubeLinter recommended best practices for chart tester pod Signed-off-by: Eddie Torres --- .../aws-ebs-csi-driver/templates/tests/helm-tester.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/charts/aws-ebs-csi-driver/templates/tests/helm-tester.yaml b/charts/aws-ebs-csi-driver/templates/tests/helm-tester.yaml index e880e5b0d..0afb25af0 100644 --- a/charts/aws-ebs-csi-driver/templates/tests/helm-tester.yaml +++ b/charts/aws-ebs-csi-driver/templates/tests/helm-tester.yaml @@ -193,6 +193,8 @@ metadata: annotations: "helm.sh/hook": test "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded,hook-failed + "ignore-check.kube-linter.io/no-read-only-root-fs": "" + "ignore-check.kube-linter.io/run-as-non-root": "" spec: containers: - name: kubetest2 @@ -214,6 +216,13 @@ spec: volumeMounts: - name: config-vol mountPath: /etc/config + resources: + requests: + cpu: "100m" + memory: "128Mi" + limits: + cpu: "200m" + memory: "256Mi" # kubekins-e2e v1 image is linux amd64 only. nodeSelector: kubernetes.io/os: linux