Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 742aa7f

Browse files
authored
Merge pull request #196 from detiber/addCategoryForTemplate
✨ Add cluster-api group to KubeadmConfigTemplate
2 parents 8f989ee + f6a42f6 commit 742aa7f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

api/v1alpha2/kubeadmconfigtemplate_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type KubeadmConfigTemplateSpec struct {
2626
}
2727

2828
// +kubebuilder:object:root=true
29-
// +kubebuilder:resource:path=kubeadmconfigtemplates,scope=Namespaced
29+
// +kubebuilder:resource:path=kubeadmconfigtemplates,scope=Namespaced,categories=cluster-api
3030
// +kubebuilder:storageversion
3131

3232
// KubeadmConfigTemplate is the Schema for the kubeadmconfigtemplates API

config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigtemplates.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ metadata:
88
spec:
99
group: bootstrap.cluster.x-k8s.io
1010
names:
11+
categories:
12+
- cluster-api
1113
kind: KubeadmConfigTemplate
1214
plural: kubeadmconfigtemplates
1315
scope: Namespaced

0 commit comments

Comments
 (0)