Skip to content

Commit

Permalink
feat: update clusterissues short names
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfm committed Aug 19, 2023
1 parent a2bded8 commit 031acb1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/zora/v1alpha1/clusterissue_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type ClusterIssueStatus struct {

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:resource:shortName="ci"
//+kubebuilder:resource:shortName={issue,issues,misc,miscs,misconfigurations}
//+kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".spec.cluster",priority=0
//+kubebuilder:printcolumn:name="ID",type="string",JSONPath=".spec.id",priority=0
//+kubebuilder:printcolumn:name="Message",type="string",JSONPath=".spec.message",priority=0
Expand Down
6 changes: 5 additions & 1 deletion charts/zora/crds/zora.undistro.io_clusterissues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ spec:
listKind: ClusterIssueList
plural: clusterissues
shortNames:
- ci
- issue
- issues
- misc
- miscs
- misconfigurations
singular: clusterissue
scope: Namespaced
versions:
Expand Down
6 changes: 5 additions & 1 deletion config/crd/bases/zora.undistro.io_clusterissues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ spec:
listKind: ClusterIssueList
plural: clusterissues
shortNames:
- ci
- issue
- issues
- misc
- miscs
- misconfigurations
singular: clusterissue
scope: Namespaced
versions:
Expand Down

0 comments on commit 031acb1

Please sign in to comment.