Skip to content

Commit fdeb3ba

Browse files
authored
Merge pull request #35492 from SanjalKatiyar/update_cosi_lint_dind
cosi: update lint test to enable DinD
2 parents 37146d5 + 1c17fb1 commit fdeb3ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/jobs/kubernetes-sigs/container-object-storage-interface/container-object-storage-interface.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ presubmits:
7070
always_run: true
7171
decorate: true
7272
path_alias: sigs.k8s.io/container-object-storage-interface
73+
labels:
74+
preset-dind-enabled: "true" # build uses docker, requires DinD
7375
annotations:
7476
testgrid-dashboards: sig-storage-container-object-storage-interface
7577
testgrid-tab-name: lint
@@ -88,6 +90,9 @@ presubmits:
8890
requests:
8991
cpu: 4
9092
memory: 6Gi
93+
# docker-in-docker needs privileged mode
94+
securityContext:
95+
privileged: true
9196
env:
9297
- name: GOMAXPROCS # workaround for go not respecting cgroup resource limits/requests
9398
valueFrom:

0 commit comments

Comments
 (0)