Skip to content

v.1.2.0

Latest
Compare
Choose a tag to compare
@yunussandikci yunussandikci released this 22 Aug 09:15
· 8 commits to main since this release
2fb49c4

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.
    • Go 1.23 and upgraded dependencies

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

New Contributors

Full Changelog: v1.1.1...v1.2.0