fix: onDelete configuration is invalid and no value is assigned to the driver
This commit is contained in:
commit
4a4605cda6
2
.github/workflows/trivy.yaml
vendored
2
.github/workflows/trivy.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Install go
|
- name: Install go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.23.5
|
go-version: 1.23.6
|
||||||
|
|
||||||
- name: Build an image from Dockerfile
|
- name: Build an image from Dockerfile
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -99,6 +99,7 @@ func NewDriver(options *DriverOptions) *Driver {
|
|||||||
volStatsCacheExpireInMinutes: options.VolStatsCacheExpireInMinutes,
|
volStatsCacheExpireInMinutes: options.VolStatsCacheExpireInMinutes,
|
||||||
removeArchivedVolumePath: options.RemoveArchivedVolumePath,
|
removeArchivedVolumePath: options.RemoveArchivedVolumePath,
|
||||||
useTarCommandInSnapshot: options.UseTarCommandInSnapshot,
|
useTarCommandInSnapshot: options.UseTarCommandInSnapshot,
|
||||||
|
defaultOnDeletePolicy: options.DefaultOnDeletePolicy,
|
||||||
}
|
}
|
||||||
|
|
||||||
n.AddControllerServiceCapabilities([]csi.ControllerServiceCapability_RPC_Type{
|
n.AddControllerServiceCapabilities([]csi.ControllerServiceCapability_RPC_Type{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user