diff --git a/.changelog/12774.txt b/.changelog/12774.txt new file mode 100644 index 000000000..3019dd5e6 --- /dev/null +++ b/.changelog/12774.txt @@ -0,0 +1,3 @@ +```release-note:bug +csi: Fixed a bug where plugin configuration updates were not considered destructive +``` diff --git a/scheduler/util.go b/scheduler/util.go index 004a57b73..9f938d1ba 100644 --- a/scheduler/util.go +++ b/scheduler/util.go @@ -551,6 +551,9 @@ func tasksUpdated(jobA, jobB *structs.Job, taskGroup string) bool { if !reflect.DeepEqual(at.Templates, bt.Templates) { return true } + if !reflect.DeepEqual(at.CSIPluginConfig, bt.CSIPluginConfig) { + return true + } // Check the metadata if !reflect.DeepEqual(