Skip to content

Comments

Add automatic backup PVC creation with create_backup_pvc option#316

Open
aknochow wants to merge 1 commit intoansible:mainfrom
aknochow:feat/create-backup-pvc
Open

Add automatic backup PVC creation with create_backup_pvc option#316
aknochow wants to merge 1 commit intoansible:mainfrom
aknochow:feat/create-backup-pvc

Conversation

@aknochow
Copy link
Member

@aknochow aknochow commented Feb 9, 2026

When users specify a custom backup_pvc name, the operator now automatically creates the PVC instead of failing with "does not exist, please create this pvc first."

Changes:

  • Add create_backup_pvc variable (default: true) to backup defaults
  • Update error condition to check create_backup_pvc before failing
  • Update PVC creation condition to include create_backup_pvc
  • Add create_backup_pvc field to EDABackup CRD

Users who want the previous behavior can set create_backup_pvc: false.

When users specify a custom backup_pvc name, the operator now
automatically creates the PVC instead of failing with
"does not exist, please create this pvc first."

Changes:
- Add create_backup_pvc variable (default: true) to backup defaults
- Update error condition to check create_backup_pvc before failing
- Update PVC creation condition to include create_backup_pvc
- Add create_backup_pvc field to EDABackup CRD

Users who want the previous behavior can set create_backup_pvc: false.

Authored By: Adam Knochowski <aknochow@redhat.com>
Assisted By: Claude
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants