Skip to content

v1.2.0-rc.1

Compare
Choose a tag to compare
@yunussandikci yunussandikci released this 11 Aug 20:54
· 21 commits to main since this release
e693400

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 schedule field which is replaced with in
    • Better Observability:
      • lastRun in the status to track the last creation time.
      • nextRun in the status to indicate the upcoming scheduled creation.

⚠️ 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:

  1. Backup Existing Resources:
kubectl get scheduledresources.cloud.namecheap.com -o yaml > scheduledresources-backup.yaml
  1. Delete the Existing CRD:
kubectl delete crd scheduledresources.cloud.namecheap.com
  1. Install the New CRD or Install the latest Helm Chart:
kubectl apply -f deploy/crds/cloud.namecheap.com_scheduledresources.yaml
  1. Update Fields in Backup:
    Replace the in field with schedule and change version to v1alpha2 from backup
sed -i 's/in:/schedule:/g; s/v1alpha1/v1alpha2/g' scheduledresources-backup.yaml
  1. Re-apply the Updated Backup:
kubectl apply -f scheduledresources-backup.yaml
  1. Install New Version:
helm upgrade --reuse-values mayfly nccloud/mayfly