v1.2.0-rc.2
·
60 commits
to main
since this release
Overview
This release introduces significant improvements to the ScheduledResource CRD, including schema changes, additional status information, and enhanced observability through new printer columns. These updates are designed to provide more robust scheduling features and better resource management.
🚀 New Features
- ScheduledResource v1alpha2:
- Recurring Creations:
- Supports recurring resource creation with crontab values in the
schedulefield which is replaced within
- Supports recurring resource creation with crontab values in the
- Better Observability:
lastRunin thestatusto track the last creation time.nextRunin thestatusto indicate the upcoming scheduled creation.
- Go 1.23 and upgraded dependencies
- Recurring Creations:
⚠️ Breaking Changes
ScheduledResource v1alpha1 support has been dropped. Users must migrate their resources to update their ScheduledResource to v1alpha2.
⚙️ Upgrade Guide
To upgrade ScheduledResource from v1alpha1 to v1alpha2, follow these steps:
- Backup Existing Resources:
kubectl get scheduledresources.cloud.namecheap.com -o yaml > scheduledresources-backup.yaml- Delete the Existing CRD:
kubectl delete crd scheduledresources.cloud.namecheap.com- Install the New CRD or Install the latest Helm Chart:
kubectl apply -f deploy/crds/cloud.namecheap.com_scheduledresources.yaml- Update Fields in Backup:
Replace theinfield withscheduleand change version tov1alpha2from backup
sed -i 's/in:/schedule:/g; s/v1alpha1/v1alpha2/g' scheduledresources-backup.yaml- Re-apply the Updated Backup:
kubectl apply -f scheduledresources-backup.yaml- Install New Version:
helm upgrade --reuse-values mayfly nccloud/mayfly