Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add categories and short name to CRD #104

Merged
merged 2 commits into from
May 27, 2024

Conversation

avorima
Copy link
Contributor

@avorima avorima commented May 24, 2024

Add categories to KamajiControlPlane so that they can be inspected together with other Cluster API resources and TCPs.

kubectl get cluster-api
kubectl get kamaji

Also add a short name. I chose kjcp because kcp is already taken. I'm open to change it though

@avorima avorima marked this pull request as ready for review May 24, 2024 15:43
@@ -162,6 +162,7 @@ type KamajiControlPlaneStatus struct {

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:resource:categories=cluster-api;kamaji,shortName=kjcp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//+kubebuilder:resource:categories=cluster-api;kamaji,shortName=kjcp
//+kubebuilder:resource:categories=cluster-api;kamaji,shortName=ktcp

Kamaji
Tenant
Control
Plane

Any suggestion here is really valuable.

@prometherion prometherion added this to the v0.10.0 milestone May 27, 2024
@prometherion prometherion merged commit 3fd601b into clastix:master May 27, 2024
1 of 3 checks passed
@avorima avorima deleted the add-category-short-name branch May 27, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants