mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
CSI: Snapshot volume create should use vol.Secrets (#10840)
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
This commit is contained in:
3
.changelog/10840.txt
Normal file
3
.changelog/10840.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
csi: Fixed a bug where volume secrets were not used for creating snapshots.
|
||||
```
|
||||
@@ -1124,7 +1124,7 @@ func (v *CSIVolume) CreateSnapshot(args *structs.CSISnapshotCreateRequest, reply
|
||||
cReq := &cstructs.ClientCSIControllerCreateSnapshotRequest{
|
||||
ExternalSourceVolumeID: vol.ExternalID,
|
||||
Name: snap.Name,
|
||||
Secrets: snap.Secrets,
|
||||
Secrets: vol.Secrets,
|
||||
Parameters: snap.Parameters,
|
||||
}
|
||||
cReq.PluginID = plugin.ID
|
||||
|
||||
Reference in New Issue
Block a user