Skip to content
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
2 changes: 1 addition & 1 deletion controllers/searchcontroller/enterprise_search_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (r EnterpriseResourceSearchSource) KeyfileSecretName() string {
}

func (r EnterpriseResourceSearchSource) Validate() error {
version, err := semver.ParseTolerant(r.Spec.GetMongoDBVersion())
version, err := semver.ParseTolerant(util.StripEnt(r.Spec.GetMongoDBVersion()))
if err != nil {
return xerrors.Errorf("error parsing MongoDB version '%s': %w", r.Spec.GetMongoDBVersion(), err)
} else if version.LT(semver.MustParse("8.0.10")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: mdb-rs
spec:
members: 3
version: 8.0.10
version: 8.0.10-ent
type: ReplicaSet
opsManager:
configMapRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: ${MDB_RESOURCE_NAME}
spec:
members: 3
version: ${MDB_VERSION}
version: ${MDB_VERSION}-ent
type: ReplicaSet
opsManager:
configMapRef:
Expand Down