From 7c2d328ee5f52c075470262cecfd2e04637bd0f2 Mon Sep 17 00:00:00 2001 From: Eddie Torres Date: Tue, 6 Feb 2024 20:15:09 +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 a4e2a8fae8..b294062a3d 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" serviceAccountName: ebs-csi-driver-test volumes: - name: config-vol