rbd: set volume condition for block

set volume condition as healthy if
we dont have any errors for the block
mode as well.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2024-09-02 10:24:47 +02:00 committed by mergify[bot]
parent 54ae9f953a
commit 4d5594acab

View File

@ -1365,6 +1365,10 @@ func blockNodeGetVolumeStats(ctx context.Context, targetPath string) (*csi.NodeG
Unit: csi.VolumeUsage_BYTES, Unit: csi.VolumeUsage_BYTES,
}, },
}, },
VolumeCondition: &csi.VolumeCondition{
Abnormal: false,
Message: "volume is in a healthy condition",
},
}, nil }, nil
} }