Skip to content

Commit 814f472

Browse files
delete version from status.required, add omitempty to Version (#684)
1 parent 0d8b9e6 commit 814f472

File tree

2 files changed

+325
-300
lines changed

2 files changed

+325
-300
lines changed

api/v1/mongodbcommunity_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type MongoDBCommunitySpec struct {
5454
// +kubebuilder:validation:Enum=ReplicaSet
5555
Type Type `json:"type"`
5656
// Version defines which version of MongoDB will be used
57-
Version string `json:"version"`
57+
Version string `json:"version,omitempty"`
5858

5959
// Arbiters is the number of arbiters (each counted as a member) in the replica set
6060
// +optional

0 commit comments

Comments
 (0)