You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Roadmap 2025/01 Custom CRDs columns
Add custom columns to the CRDs
RemoteUser
,RemoteUserBinding
andRemoteSyncer
in order to have a nice preview of the resources using the client tools (such askubectl
).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
.spec.email
.spec.gitBaseDomainFQDN
.status.secretBoundStatus
RemoteUserBinding
.status.userKubernetesID
.status.state
RemoteSyncer
.status.lastPushedObjectState.lastPushedObjectTime
.status.lastPushedObjectState.lastPushedObject.name
.status.lastBypassedObjectState.lastBypassObjectTime
.status.lastBypassedObjectState.lastBypassObject.name
Additional context
If you have any questions, please tag @damsien.
The text was updated successfully, but these errors were encountered: