Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dynamic client to create volume snapshots #629

Merged
merged 9 commits into from
Mar 20, 2020
Prev Previous commit
Next Next commit
Fix missing namespace in content spec
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
  • Loading branch information
PrasadG193 committed Mar 19, 2020
commit 64cfebcdf8c507cbddd7f868b48ae6efffdc62f3
2 changes: 1 addition & 1 deletion pkg/kube/snapshot/snapshot_alpha.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (sna *SnapshotAlpha) CreateFromSource(ctx context.Context, source *Source,
"volumeSnapshotRef": map[string]interface{}{
"kind": VolSnapKind,
"name": snapshotName,
"namespace": snapshotName,
"namespace": namespace,
},
"snapshotClassName": source.VolumeSnapshotClassName,
"deletionPolicy": deletionPolicy,
Expand Down