Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: mongodbs.mongodb.com
name: mongodb.mongodb.com
spec:
group: mongodb.com
names:
kind: MongoDB
listKind: MongoDBList
plural: mongodbs
plural: mongodb
shortNames:
- mdb
singular: mongodb
scope: Namespaced
subresources:
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/mongodb/v1/mongodb_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type MongoDBStatus struct {

// MongoDB is the Schema for the mongodbs API
// +kubebuilder:subresource:status
// +kubebuilder:resource:path=mongodbs,scope=Namespaced
// +kubebuilder:resource:path=mongodb,scope=Namespaced,shortName=mdb
type MongoDB struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down