Skip to content

Commit

Permalink
Add acd shortname to crd (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranatrk authored Dec 21, 2023
1 parent 41ed04e commit b35ffb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1alpha1/automatedclusterdiscovery_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ type AutomatedClusterDiscoveryStatus struct {

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:resource:shortName="acd"
//+kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""
//+kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].message",description=""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ spec:
kind: AutomatedClusterDiscovery
listKind: AutomatedClusterDiscoveryList
plural: automatedclusterdiscoveries
shortNames:
- acd
singular: automatedclusterdiscovery
scope: Namespaced
versions:
Expand Down

0 comments on commit b35ffb7

Please sign in to comment.