Skip to content

Commit

Permalink
Enabled with crd categories (#1506)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellistarn authored Mar 14, 2022
1 parent d0e7ca8 commit 3266cdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/karpenter/crds/karpenter.sh_provisioners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ metadata:
spec:
group: karpenter.sh
names:
categories:
- karpenter
kind: Provisioner
listKind: ProvisionerList
plural: provisioners
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/provisioning/v1alpha5/provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type ProvisionerSpec struct {

// Provisioner is the Schema for the Provisioners API
// +kubebuilder:object:root=true
// +kubebuilder:resource:path=provisioners,scope=Cluster
// +kubebuilder:resource:path=provisioners,scope=Cluster,categories=karpenter
// +kubebuilder:subresource:status
type Provisioner struct {
metav1.TypeMeta `json:",inline"`
Expand Down

0 comments on commit 3266cdc

Please sign in to comment.