Import SchedulingClassAnnotation, SchedulingClassLabel, SchedulerName, and GVR components from the cozystack-scheduler/pkg/apis sub-module instead of defining them locally. This ensures the webhook and scheduler stay in sync on label/annotation keys. Also standardize the namespace label from scheduling.cozystack.io/class to scheduler.cozystack.io/scheduling-class for consistency with the scheduler, and resolve scheduling class from the owner Application CR (via a new SchedulingClass() stub method) before falling back to the namespace label. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Timofei Larkin <lllamnyp@gmail.com> |
||
|---|---|---|
| .. | ||
| _helpers.tpl | ||
| cleanup-job.yaml | ||
| etcd.yaml | ||
| info.yaml | ||
| ingress.yaml | ||
| keycloakgroups.yaml | ||
| monitoring.yaml | ||
| namespace.yaml | ||
| networkpolicy.yaml | ||
| quota.yaml | ||
| seaweedfs.yaml | ||
| tenant.yaml | ||