Skip to content

Commit

Permalink
test(stress): pvc-hell pull images only if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
paullaffitte committed Nov 16, 2020
1 parent 174e96b commit baefc12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example/pvc-hell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ spec:
restartPolicy: Never
initContainers:
- image: alpine
imagePullPolicy: IfNotPresent
command: ["/bin/sh", "-c", "echo hello > /vol/test"]
name: write
volumeMounts:
- mountPath: /vol
name: volume
containers:
- image: alpine
imagePullPolicy: IfNotPresent
command: ["/bin/sh", "-c", "echo hello > /vol/test2 && diff /vol/test /vol/test2 -q && echo 'SUCCESS'"]
name: read
volumeMounts:
Expand Down

0 comments on commit baefc12

Please sign in to comment.