mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
e2e: pull centos image from registry.centos.org
The BlockVolume PVC tests consume the example files that refer to
"centos:latest" without registry. This means that the images will get
pulled from Docker Hub, which has rate limits preventing CI jobs from
pulling images.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 4fd0294eb7
)
# Conflicts:
# examples/rbd/block-pod-clone.yaml
This commit is contained in:
parent
c449feaa95
commit
4be946b816
17
examples/rbd/block-pod-clone.yaml
Normal file
17
examples/rbd/block-pod-clone.yaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: pod-with-block-volume-clone
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: centos
|
||||||
|
image: registry.centos.org/centos:latest
|
||||||
|
command: ["/bin/sleep", "infinity"]
|
||||||
|
volumeDevices:
|
||||||
|
- name: data
|
||||||
|
devicePath: /dev/xvda
|
||||||
|
volumes:
|
||||||
|
- name: data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: block-pvc-clone
|
Loading…
Reference in New Issue
Block a user