Skip to content

Commit

Permalink
Merge pull request rook#14746 from parth-gr/fix-csi-driver
Browse files Browse the repository at this point in the history
csi: fix the ROOK_CSI_DISABLE_DRIVER flag in the csi reconcile
  • Loading branch information
travisn authored Sep 23, 2024
2 parents d15dabf + 166e4f3 commit aba78ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/operator/ceph/csi/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,7 @@ func (r *ReconcileCSI) reconcile(request reconcile.Request) (reconcile.Result, e
}
}

if !EnableCSIOperator() {

if !disableCSI && !EnableCSIOperator() {
err = r.validateAndConfigureDrivers(serverVersion, ownerInfo)
if err != nil {
return opcontroller.ImmediateRetryResult, errors.Wrap(err, "failed to configure ceph csi")
Expand Down

0 comments on commit aba78ea

Please sign in to comment.