Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

rook-ceph: Add reclaim_policy #1369

Merged
merged 4 commits into from
Mar 26, 2021
Merged

Commits on Mar 25, 2021

  1. rook-ceph: Add reclaim_policy

    - Change the default behaviour of rook-ceph storage class to `Retain`
      from `Delete`, so if a user accidentally deletes a PVC they don't lose
      all the data in it.
    - Add a parameter `reclaim_policy` to `storage_class` block, to let user
      override the default behaviour.
    
    Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
    surajssd committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    5a9b3fc View commit details
    Browse the repository at this point in the history
  2. openebs-storage-class: Add reclaim_policy

    - Change the default behaviour of openebs-storage-class storage class to
      `Retain` from `Delete`, so if a user accidentally deletes a PVC they
      don't lose all the data in it.
    - Add a parameter `reclaim_policy` to `storage_class` block, to let user
      override the default behaviour.
    
    Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
    surajssd committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    7be7e9a View commit details
    Browse the repository at this point in the history
  3. aws-ebs-csi-driver: Add reclaim_policy

    - Change the default behaviour of aws-ebs-csi-driver storage class to
      `Retain` from `Delete`, so if a user accidentally deletes a PVC they
      don't lose all the data in it.
    - Add a parameter `reclaim_policy` to `storage_class` block, to let user
      override the default behaviour.
    
    Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
    surajssd committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    2f46341 View commit details
    Browse the repository at this point in the history
  4. ci: For aws-ebs driver use Delete reclaim_policy

    The default reclaim policy is set to Retain if the PVs are not deleted
    explicitly by the user they might remain around costing money.
    
    This change is introduced to reduce the proliferation of unused PVs that
    might be left as a result of multiple CI runs.
    
    Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
    surajssd committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    237560a View commit details
    Browse the repository at this point in the history