Skip to content

Commit 4c8066b

Browse files
committed
csi: fix provisioner sidecar version
1 parent 5367b73 commit 4c8066b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

deploy/kubernetes/releases/csi-digitalocean-dev.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ spec:
213213
serviceAccount: csi-do-controller-sa
214214
containers:
215215
- name: csi-provisioner
216-
image: quay.io/k8scsi/csi-provisioner:v1.0.0
216+
image: quay.io/k8scsi/csi-provisioner:v1.0-canary
217217
args:
218218
- "--provisioner=dobs.csi.digitalocean.com"
219219
- "--csi-address=$(ADDRESS)"

driver/controller.go

+2
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ func (d *Driver) CreateSnapshot(ctx context.Context, req *csi.CreateSnapshotRequ
598598
"couldn't convert DO snapshot to CSI snapshot: %s", err.Error())
599599
}
600600

601+
ll.WithField("snapshot", s).Info("snapshot already created")
601602
return &csi.CreateSnapshotResponse{
602603
Snapshot: s,
603604
}, nil
@@ -629,6 +630,7 @@ func (d *Driver) CreateSnapshot(ctx context.Context, req *csi.CreateSnapshotRequ
629630
"couldn't convert DO snapshot to CSI snapshot: %s", err.Error())
630631
}
631632

633+
ll.WithField("snapshot", s).Info("snapshot created")
632634
return &csi.CreateSnapshotResponse{
633635
Snapshot: s,
634636
}, nil

0 commit comments

Comments
 (0)