Add manual (static) provisioning example

This commit is contained in:
Vitaliy Filippov 2021-07-27 00:04:02 +03:00
parent 638df760b3
commit 5487b3f8f1
3 changed files with 48 additions and 1 deletions

View file

@ -125,7 +125,6 @@ func (cs *controllerServer) DeleteVolume(ctx context.Context, req *csi.DeleteVol
return nil, fmt.Errorf("failed to initialize S3 client: %s", err)
}
// FIXME Don't delete the bucket if it existed initially
var deleteErr error
if prefix == "" {
// prefix is empty, we delete the whole bucket