Skip to content

Commit

Permalink
add shortname ec, ecs for EdgeConnect
Browse files Browse the repository at this point in the history
  • Loading branch information
wepudt committed Jul 4, 2024
1 parent 9d63386 commit 42cf094
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/crd/bases/dynatrace.com_edgeconnects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ spec:
kind: EdgeConnect
listKind: EdgeConnectList
plural: edgeconnects
shortNames:
- ec
- ecs
singular: edgeconnect
scope: Namespaced
versions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4720,6 +4720,9 @@ spec:
kind: EdgeConnect
listKind: EdgeConnectList
plural: edgeconnects
shortNames:
- ec
- ecs
singular: edgeconnect
scope: Namespaced
versions:
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/v1alpha1/edgeconnect/edgeconnect_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (dk *EdgeConnectStatus) SetPhase(phase status.DeploymentPhase) bool {
// +k8s:openapi-gen=true
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:path=edgeconnects,scope=Namespaced,categories=dynatrace
// +kubebuilder:resource:path=edgeconnects,scope=Namespaced,categories=dynatrace,shortName={ec,ecs}
// +kubebuilder:printcolumn:name="ApiServer",type=string,JSONPath=`.spec.apiServer`
// +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.phase`
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
Expand Down

0 comments on commit 42cf094

Please sign in to comment.