chaunceyt / webproject-operator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add VolumeSnapShot support

chaunceyt opened this issue · comments

Issue

Update database PVC to support using a volumesnapshot as the source of the PVC being requested.

Analysis

Fields needed

  • snapshotsource is the volume to take a snapshot of when creating workload
  • snapshot true indicate if we should switch to CSI storageclass for PVC

Confirmation

  1. When snapshot is enabled for the workload being created a PVC is created from an VolumeSnapshot
  2. The VolumeSnapshot should be managed by the operator