mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
All images used by e2e tests must use templates in order to allow relocation. In addition this is hitting Dockerhub which will be getting throttled soon.
14 lines
317 B
YAML
14 lines
317 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: busybox1
|
|
labels:
|
|
app: busybox1
|
|
spec:
|
|
containers:
|
|
- image: {{.BusyBoxImage}}
|
|
command: ["/bin/sh", "-c", "mkdir -p /root/foo/bar && echo 'foobar' > /root/foo/bar/foo.bar && sleep 3600"]
|
|
imagePullPolicy: IfNotPresent
|
|
name: busybox
|
|
restartPolicy: Always
|