From 4be946b81675182f64459112a502c873b5894da2 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 19 Nov 2020 12:50:59 +0100 Subject: [PATCH] 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 (cherry picked from commit 4fd0294eb78e318473c34acc409af23054fce61d) # Conflicts: # examples/rbd/block-pod-clone.yaml --- examples/rbd/block-pod-clone.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 examples/rbd/block-pod-clone.yaml diff --git a/examples/rbd/block-pod-clone.yaml b/examples/rbd/block-pod-clone.yaml new file mode 100644 index 000000000..84eafded4 --- /dev/null +++ b/examples/rbd/block-pod-clone.yaml @@ -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