mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
CSI: plugin config updates should always be destructive (#12774)
This commit is contained in:
3
.changelog/12774.txt
Normal file
3
.changelog/12774.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
csi: Fixed a bug where plugin configuration updates were not considered destructive
|
||||
```
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user