netbookai / spawner

Mulit-Cloud infrastructure orchestrator for kubernetes first development.
https://netbook-2.gitbook.io/netbook-docs/opensource/docs/spawner
GNU General Public License v3.0
56 stars 10 forks source link

delete snapshot after restoring into new volume #20

Closed NishanthSpShetty closed 2 years ago

NishanthSpShetty commented 2 years ago

Description

Delete snapshot after restoring the snapshot state to new volume if the deleteSnapshot is set

Type of change

why

When we restore snapshot into new volume, we leave snapshot as it, which accumulates over the period and becomes harder to cleanup.

How Has This Been Tested?

Checklist:

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication