Skip to content

Commit

Permalink
api: deprecate v1alpha1
Browse files Browse the repository at this point in the history
use kube mechanism to make it really loud and obvious
this API version is deprecated

xref: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#version-deprecation

Signed-off-by: Francesco Romani <[email protected]>
  • Loading branch information
ffromani committed Oct 17, 2024
1 parent 3cacd23 commit 80ffff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ type MachineConfigPool struct {
//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:resource:shortName=numaresop,path=numaresourcesoperators,scope=Cluster
//+kubebuilder:deprecatedversion

// NUMAResourcesOperator is the Schema for the numaresourcesoperators API
// +operator-sdk:csv:customresourcedefinitions:displayName="NUMA Resources Operator",resources={{DaemonSet,v1,rte-daemonset,ConfigMap,v1,rte-configmap}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ type NUMAResourcesSchedulerStatus struct {
//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:resource:shortName=numaressched,path=numaresourcesschedulers,scope=Cluster
//+kubebuilder:deprecatedversion

// NUMAResourcesScheduler is the Schema for the numaresourcesschedulers API
// +operator-sdk:csv:customresourcedefinitions:displayName="NUMA Aware Scheduler",resources={{Deployment,v1,secondary-scheduler-deployment}}
Expand Down

0 comments on commit 80ffff2

Please sign in to comment.