Skip to content

Commit

Permalink
Update ClusterGroup singular name (#2484)
Browse files Browse the repository at this point in the history
This PR updates the singular name of the ClusterGroup
CRD from "group" to "clustergroup". After this update,
the "kubectl get group" command will not return any
ClusterGroups. However, the most common way and the
documented way to return ClusterGroups using kubectl
have been to use "kubectl get cg" or "kubectl get clustergroups".

Signed-off-by: abhiraut <[email protected]>
  • Loading branch information
abhiraut authored Aug 9, 2021
1 parent 774d95f commit fe4457f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/yamls/antrea-aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ spec:
plural: clustergroups
shortNames:
- cg
singular: group
singular: clustergroup
scope: Cluster
versions:
- name: v1alpha2
Expand Down
2 changes: 1 addition & 1 deletion build/yamls/antrea-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ spec:
plural: clustergroups
shortNames:
- cg
singular: group
singular: clustergroup
scope: Cluster
versions:
- name: v1alpha2
Expand Down
2 changes: 1 addition & 1 deletion build/yamls/antrea-gke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ spec:
plural: clustergroups
shortNames:
- cg
singular: group
singular: clustergroup
scope: Cluster
versions:
- name: v1alpha2
Expand Down
2 changes: 1 addition & 1 deletion build/yamls/antrea-ipsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ spec:
plural: clustergroups
shortNames:
- cg
singular: group
singular: clustergroup
scope: Cluster
versions:
- name: v1alpha2
Expand Down
2 changes: 1 addition & 1 deletion build/yamls/antrea.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ spec:
plural: clustergroups
shortNames:
- cg
singular: group
singular: clustergroup
scope: Cluster
versions:
- name: v1alpha2
Expand Down
2 changes: 1 addition & 1 deletion build/yamls/base/crds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ spec:
scope: Cluster
names:
plural: clustergroups
singular: group
singular: clustergroup
kind: ClusterGroup
shortNames:
- cg
Expand Down

0 comments on commit fe4457f

Please sign in to comment.