Skip to content

Commit

Permalink
Merge pull request #161 from iPraveenParihar/fix/snapshotter-extra-cr…
Browse files Browse the repository at this point in the history
…eate-metadata

fix: update extra-create-metadata arg condition
  • Loading branch information
Madhu-1 authored Oct 22, 2024
2 parents 76bc088 + e0618a8 commit 53c591f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/driver_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ func (r *driverReconcile) reconcileControllerPluginDeployment() error {
utils.LogVerbosityContainerArg(logVerbosity),
utils.CsiAddressContainerArg,
utils.TimeoutContainerArg(grpcTimeout),
utils.If(r.isNfsDriver(), utils.ExtraCreateMetadataContainerArg, ""),
utils.If(!r.isNfsDriver(), utils.ExtraCreateMetadataContainerArg, ""),
utils.If(
r.driverType != NfsDriverType && snPolicy == csiv1a1.VolumeGroupSnapshotPolicy,
utils.EnableVolumeGroupSnapshotsContainerArg,
Expand Down

0 comments on commit 53c591f

Please sign in to comment.