Skip to content

Commit

Permalink
Update ClusterGroup singular name
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 <rauta@vmware.com>
  • Loading branch information
abhiraut committed Jul 28, 2021
1 parent 6f33da3 commit 960ece2
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 960ece2

Please sign in to comment.