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

[FE]: Custom CRDs columns #19

Open
damsien opened this issue Oct 14, 2024 · 0 comments
Open

[FE]: Custom CRDs columns #19

damsien opened this issue Oct 14, 2024 · 0 comments
Labels
enhancement Request for enhancement good first issue Good for newcomers

Comments

@damsien
Copy link
Collaborator

damsien commented Oct 14, 2024

Roadmap 2025/01 Custom CRDs columns
Add custom columns to the CRDs RemoteUser, RemoteUserBinding and RemoteSyncer in order to have a nice preview of the resources using the client tools (such as kubectl).

What to do

Use the kubebuilder framework's CRD Generation marker.
The concerned marker is // +kubebuilder:printcolumn. Please refer to this example to use this marker.

CRDs columns

This parts describes the custom columns for each object.

RemoteUser

  • User .spec.email
  • Server .spec.gitBaseDomainFQDN
  • Credentials status .status.secretBoundStatus

RemoteUserBinding

  • K8s user .status.userKubernetesID
  • RemoteUsers status .status.state

RemoteSyncer

  • Last pushed object time .status.lastPushedObjectState.lastPushedObjectTime
  • Last pushed object name .status.lastPushedObjectState.lastPushedObject.name
  • Last bypassed object time .status.lastBypassedObjectState.lastBypassObjectTime
  • Last bypassed object name .status.lastBypassedObjectState.lastBypassObject.name

Additional context

If you have any questions, please tag @damsien.

@damsien damsien added enhancement Request for enhancement good first issue Good for newcomers feature A feature that is listed in the roadmap labels Oct 14, 2024
@damsien damsien assigned damsien and unassigned damsien Dec 23, 2024
@damsien damsien removed the feature A feature that is listed in the roadmap label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request for enhancement good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant