ceph-csi/internal
Madhu Rajanna 27d0d3c0c5 cephfs: skip expand for BackingSnapshot volume
We should not call ExpandVolume for the BackingSnapshot
subvolume as there wont be any real subvolume created for
it and even if we call it the ExpandVolume will fail
fail as there is no real subvolume exists.

This commits fixes by adjusting the `if` check to ensure
that ExpandVolume will only be called either the
VolumeRequest is to create from a snapshot or volume
and BackingSnapshot is not true.

sample code here https://go.dev/play/p/PI2tNii5tTg

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit f7796081d3)
2022-12-21 14:15:17 +00:00
..
cephfs cephfs: skip expand for BackingSnapshot volume 2022-12-21 14:15:17 +00:00
controller cleanup: ReconcilePersistentVolume consider passing it by pointer 2022-06-28 19:12:53 +00:00
csi-addons rbd: ignore stdErr for ceph osd blocklist when there is no error 2022-11-14 08:52:40 +00:00
csi-common rbd: modify stripSecret mechanism in logGRPC() 2022-08-29 14:55:24 +00:00
journal rbd: update namespace name in rados object 2022-10-28 19:49:30 +00:00
kms rbd: create token and use it for vault SA everytime possible 2022-09-09 16:07:31 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nfs nfs: add nodeserver within cephcsi 2022-08-09 13:36:03 +00:00
rbd rbd: unset metadata if setmetadata is false 2022-11-28 17:13:10 +00:00
util cleanup: use index instead of value while iterating 2022-08-09 13:36:03 +00:00