Skip to content

Commit 1efbfae

Browse files
authored
Merge pull request #7798 from sbueringer/pr-add-category
🌱 Add category to DockerClusterTemplate
2 parents bfe4604 + 6e7ed35 commit 1efbfae

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/infrastructure/docker/api/v1beta1/dockerclustertemplate_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ type DockerClusterTemplateSpec struct {
2727
Template DockerClusterTemplateResource `json:"template"`
2828
}
2929

30+
// +kubebuilder:resource:path=dockerclustertemplates,scope=Namespaced,categories=cluster-api
3031
// +kubebuilder:object:root=true
3132
// +kubebuilder:storageversion
3233
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of DockerClusterTemplate"
@@ -40,7 +41,6 @@ type DockerClusterTemplate struct {
4041
}
4142

4243
// +kubebuilder:object:root=true
43-
// +kubebuilder:resource:path=dockerclustertemplates,scope=Namespaced,categories=cluster-api
4444

4545
// DockerClusterTemplateList contains a list of DockerClusterTemplate.
4646
type DockerClusterTemplateList struct {

test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockerclustertemplates.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)