Skip to content

Commit c83d4d4

Browse files
authored
CLOUDP-276565 MongoDB 8.0.0 GA support (#1624)
* CLOUDP-276565 MongoDB 8.0.0 GA support * Fixes and release notes * Fixed Agent distro
1 parent a6075d4 commit c83d4d4

File tree

8 files changed

+42
-22
lines changed

8 files changed

+42
-22
lines changed

.action_templates/jobs/tests.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ tests:
1313
distro: ubi
1414
- test-name: replica_set_enterprise_upgrade_6_7
1515
distro: ubi
16+
- test-name: replica_set_enterprise_upgrade_7_8
17+
distro: ubi
1618
- test-name: replica_set_recovery
1719
distro: ubi
1820
- test-name: replica_set_mongod_readiness

.github/workflows/e2e-fork.yml

+2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ jobs:
9898
distro: ubi
9999
- test-name: replica_set_enterprise_upgrade_6_7
100100
distro: ubi
101+
- test-name: replica_set_enterprise_upgrade_7_8
102+
distro: ubi
101103
- test-name: replica_set_recovery
102104
distro: ubi
103105
- test-name: replica_set_mongod_readiness

.github/workflows/e2e.yml

+2
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ jobs:
104104
distro: ubi
105105
- test-name: replica_set_enterprise_upgrade_6_7
106106
distro: ubi
107+
- test-name: replica_set_enterprise_upgrade_7_8
108+
distro: ubi
107109
- test-name: replica_set_recovery
108110
distro: ubi
109111
- test-name: replica_set_mongod_readiness

docs/RELEASE_NOTES.md

+3-17
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
# MongoDB Kubernetes Operator 0.11.0
1+
# MongoDB Kubernetes Operator 0.12.0
22

3-
## Migrating agent images to ubi
4-
All agent images were updated to use the ubi repo
5-
6-
## Documentation improvements
7-
Improvements were made to the documentation of using the community operator as well as the one for local development.
8-
9-
## Logging changes
10-
- Added `AuditLogRotate` field to `AgentConfiguration`
11-
- Fixed JSON key to be lower case: `logRotate`
12-
13-
## Bug Fixes
14-
- Users removed from the resource are now also deleted from the database and their connection string secrets are cleaned up
15-
- Scram secret name collisions will now be caught when validating specs
16-
17-
## Important Bumps
18-
- Bumped go to 1.22
3+
## Added support for MongoDB 8.0.0 GA
4+
MongoDB 8.0.0 GA is now officially supported by the Operator

pipeline.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
TOOLS_DISTRO_KEY = "tools_distro"
2727

2828
AGENT_DISTROS_PER_ARCH = {
29-
"amd64": {AGENT_DISTRO_KEY: "rhel7_x86_64", TOOLS_DISTRO_KEY: "rhel70-x86_64"},
30-
"arm64": {AGENT_DISTRO_KEY: "amzn2_aarch64", TOOLS_DISTRO_KEY: "rhel82-aarch64"},
29+
"amd64": {AGENT_DISTRO_KEY: "rhel8_x86_64", TOOLS_DISTRO_KEY: "rhel88-x86_64"},
30+
"arm64": {AGENT_DISTRO_KEY: "amzn2_aarch64", TOOLS_DISTRO_KEY: "rhel88-aarch64"},
3131
}
3232

3333

release.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"operator": "0.11.0",
44
"version-upgrade-hook": "1.0.9",
55
"readiness-probe": "1.0.20",
6-
"agent": "107.0.7.8596-1",
7-
"agent-tools-version": "100.9.4"
6+
"agent": "108.0.0.8694-1",
7+
"agent-tools-version": "100.10.0"
88
}

test/e2e/e2eutil.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func NewTestMongoDB(ctx *TestContext, name string, namespace string) (mdbv1.Mong
7070
Spec: mdbv1.MongoDBCommunitySpec{
7171
Members: 3,
7272
Type: "ReplicaSet",
73-
Version: "7.0.2",
73+
Version: "8.0.0",
7474
Arbiters: 0,
7575
Security: mdbv1.Security{
7676
Authentication: mdbv1.Authentication{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package replica_set
2+
3+
import (
4+
"context"
5+
"fmt"
6+
"os"
7+
"testing"
8+
9+
e2eutil "github.com/mongodb/mongodb-kubernetes-operator/test/e2e"
10+
"github.com/mongodb/mongodb-kubernetes-operator/test/e2e/replica_set_enterprise_upgrade"
11+
)
12+
13+
var (
14+
versionsForUpgrades = []string{"7.0.12", "8.0.0"}
15+
)
16+
17+
func TestMain(m *testing.M) {
18+
code, err := e2eutil.RunTest(m)
19+
if err != nil {
20+
fmt.Println(err)
21+
}
22+
os.Exit(code)
23+
}
24+
25+
func TestReplicaSet(t *testing.T) {
26+
ctx := context.Background()
27+
replica_set_enterprise_upgrade.DeployEnterpriseAndUpgradeTest(ctx, t, versionsForUpgrades)
28+
}

0 commit comments

Comments
 (0)