Skip to content

Commit e075550

Browse files
authored
fix(security): Storage & Memory limits should be enforced in test/gha-e2e/juicefs/read_job.yaml. (fluid-cloudnative#5329)
Signed-off-by: JiGuoDing <485204300@qq.com>
1 parent b97d73c commit e075550

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/gha-e2e/juicefs/read_job.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ spec:
1616
containers:
1717
- name: read-job
1818
image: busybox
19-
command: ['sh']
19+
resources:
20+
limits:
21+
memory: "512Mi"
22+
ephemeral-storage: "5Gi"
23+
command: ['sh']
2024
args:
2125
- -c
2226
- set -ex; test -n "$(cat /data/foo/bar)"

0 commit comments

Comments
 (0)