Skip to content

change importsToKeep default from 3 to 1 to avoid unused PVC #4002

@gaohoward

Description

@gaohoward

What happened:
DataImportCron keeps 3 old import PVCs by default, wasting storage because there’s no UI to select older images. Default should be 1 to save disk space.

What you expected to happen:
The default value should be 1

How to reproduce it (as minimally and precisely as possible):
Steps to reproduce the behavior.

$ oc explain dic.spec.importsToKeep
GROUP: cdi.kubevirt.io
KIND: DataImportCron
VERSION: v1beta1

FIELD: importsToKeep

DESCRIPTION:
Number of import PVCs to keep when garbage collecting. Default is 3.

Additional context:
Add any other context about the problem here.

Environment:

  • CDI version (use kubectl get deployments cdi-deployment -o yaml): N/A
  • Kubernetes version (use kubectl version): N/A
  • DV specification: N/A
  • Cloud provider or hardware configuration: N/A
  • OS (e.g. from /etc/os-release): N/A
  • Kernel (e.g. uname -a): N/A
  • Install tools: N/A
  • Others: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions