Backup in unknown status when SGBackupConfig is missing
Summary
when the SGCluster is created without the SGBackupConfig, the SGBackups created do nothing.
Steps to reproduce
- create a SGCluster without the SGBackupConfig
- create a SGBackup pointing to this new cluster (or do it with the UI)
Expected Behaviour
The user should receive some sort of feedback that the SGBackup is pending but the SGBackupConfig isn't defined in the SGCluster.
Possible Solution
Set the SGBackup status with the "Pending" and send an event saying "Missing the SGBackupConfig in the SGCluster XXXXX"
Environment
- StackGres version: 0.9.5 and 1.0alpha1
Edited by Matteo Melli