Skip to content

Commit

Permalink
Incorporate KubeLinter recommended best practices for chart tester pod
Browse files Browse the repository at this point in the history
Signed-off-by: Eddie Torres <[email protected]>
  • Loading branch information
torredil committed Feb 6, 2024
1 parent bb2e6f3 commit fa75f16
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/aws-ebs-csi-driver/templates/tests/helm-tester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ 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
Expand All @@ -214,6 +217,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
Expand Down

0 comments on commit fa75f16

Please sign in to comment.