From 179996990efed562034079f615ba43e85df96506 Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Tue, 26 Apr 2022 12:19:09 +0530 Subject: [PATCH] ci: use canary csi-provisioner image to test different sc clones This commit is added to use canary csi-provisioner image to test different sc pvc-pvc cloning feature, which is not yet present in released versions. refer: https://github.com/kubernetes-csi/external-provisioner/pull/699 Signed-off-by: Rakshith R (cherry picked from commit c8800618828101580499c20d5b051d65ad017634) # Conflicts: # charts/ceph-csi-rbd/values.yaml # deploy/rbd/kubernetes/csi-rbdplugin-provisioner.yaml --- charts/ceph-csi-rbd/values.yaml | 8 ++++++-- deploy/rbd/kubernetes/csi-rbdplugin-provisioner.yaml | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/charts/ceph-csi-rbd/values.yaml b/charts/ceph-csi-rbd/values.yaml index 825412459..490828942 100644 --- a/charts/ceph-csi-rbd/values.yaml +++ b/charts/ceph-csi-rbd/values.yaml @@ -199,8 +199,12 @@ provisioner: provisioner: image: - repository: k8s.gcr.io/sig-storage/csi-provisioner - tag: v3.1.0 + # TODO: replace with released image version. + # canary image is being to be used to test pvc-pvc clone + # with differe sc feature. + # see: https://github.com/kubernetes-csi/external-provisioner/pull/699 + repository: gcr.io/k8s-staging-sig-storage/csi-provisioner + tag: canary pullPolicy: IfNotPresent resources: {} diff --git a/deploy/rbd/kubernetes/csi-rbdplugin-provisioner.yaml b/deploy/rbd/kubernetes/csi-rbdplugin-provisioner.yaml index f0446e694..a868fa725 100644 --- a/deploy/rbd/kubernetes/csi-rbdplugin-provisioner.yaml +++ b/deploy/rbd/kubernetes/csi-rbdplugin-provisioner.yaml @@ -47,7 +47,11 @@ spec: priorityClassName: system-cluster-critical containers: - name: csi-provisioner - image: k8s.gcr.io/sig-storage/csi-provisioner:v3.1.0 + # TODO: replace with released image version. + # Canary image is being to be used to test pvc-pvc clone + # with differe sc feature. + # see: https://github.com/kubernetes-csi/external-provisioner/pull/699 + image: gcr.io/k8s-staging-sig-storage/csi-provisioner:canary args: - "--csi-address=$(ADDRESS)" - "--v=5"