kubecost / cluster-turndown

Automated turndown of Kubernetes clusters on specific schedules.
Apache License 2.0
259 stars 23 forks source link

Add schema for CRD status #55

Closed michaelmdresser closed 1 year ago

michaelmdresser commented 1 year ago

Fixes a bug where the CR (turndownschedule) status would never be updated because calls to UpdateStatus were no-ops. With the schema, they are no longer no-ops.

Tested via KC Helm chart changes which are identical to this PR: https://github.com/kubecost/cost-analyzer-helm-chart/pull/2209