diff --git a/.action_templates/jobs/tests.yaml b/.action_templates/jobs/tests.yaml index 400b47d77..f360ee3d6 100644 --- a/.action_templates/jobs/tests.yaml +++ b/.action_templates/jobs/tests.yaml @@ -13,6 +13,8 @@ tests: distro: ubi - test-name: replica_set_enterprise_upgrade_6_7 distro: ubi + - test-name: replica_set_enterprise_upgrade_7_8 + distro: ubi - test-name: replica_set_recovery distro: ubi - test-name: replica_set_mongod_readiness diff --git a/.github/workflows/e2e-fork.yml b/.github/workflows/e2e-fork.yml index d224b39c1..eede9c4ed 100644 --- a/.github/workflows/e2e-fork.yml +++ b/.github/workflows/e2e-fork.yml @@ -98,6 +98,8 @@ jobs: distro: ubi - test-name: replica_set_enterprise_upgrade_6_7 distro: ubi + - test-name: replica_set_enterprise_upgrade_7_8 + distro: ubi - test-name: replica_set_recovery distro: ubi - test-name: replica_set_mongod_readiness diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 9cb692985..6eb0a6d53 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -104,6 +104,8 @@ jobs: distro: ubi - test-name: replica_set_enterprise_upgrade_6_7 distro: ubi + - test-name: replica_set_enterprise_upgrade_7_8 + distro: ubi - test-name: replica_set_recovery distro: ubi - test-name: replica_set_mongod_readiness diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index aed986aa2..280ab59b9 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -1,18 +1,4 @@ -# MongoDB Kubernetes Operator 0.11.0 +# MongoDB Kubernetes Operator 0.12.0 -## Migrating agent images to ubi -All agent images were updated to use the ubi repo - -## Documentation improvements -Improvements were made to the documentation of using the community operator as well as the one for local development. - -## Logging changes -- Added `AuditLogRotate` field to `AgentConfiguration` -- Fixed JSON key to be lower case: `logRotate` - -## Bug Fixes -- Users removed from the resource are now also deleted from the database and their connection string secrets are cleaned up -- Scram secret name collisions will now be caught when validating specs - -## Important Bumps -- Bumped go to 1.22 \ No newline at end of file +## Added support for MongoDB 8.0.0 GA +MongoDB 8.0.0 GA is now officially supported by the Operator diff --git a/pipeline.py b/pipeline.py index b8324d249..f288d1a5b 100644 --- a/pipeline.py +++ b/pipeline.py @@ -26,8 +26,8 @@ TOOLS_DISTRO_KEY = "tools_distro" AGENT_DISTROS_PER_ARCH = { - "amd64": {AGENT_DISTRO_KEY: "rhel7_x86_64", TOOLS_DISTRO_KEY: "rhel70-x86_64"}, - "arm64": {AGENT_DISTRO_KEY: "amzn2_aarch64", TOOLS_DISTRO_KEY: "rhel82-aarch64"}, + "amd64": {AGENT_DISTRO_KEY: "rhel8_x86_64", TOOLS_DISTRO_KEY: "rhel88-x86_64"}, + "arm64": {AGENT_DISTRO_KEY: "amzn2_aarch64", TOOLS_DISTRO_KEY: "rhel88-aarch64"}, } diff --git a/release.json b/release.json index 403d3f789..be9f04b61 100644 --- a/release.json +++ b/release.json @@ -3,6 +3,6 @@ "operator": "0.11.0", "version-upgrade-hook": "1.0.9", "readiness-probe": "1.0.20", - "agent": "107.0.7.8596-1", - "agent-tools-version": "100.9.4" + "agent": "108.0.0.8694-1", + "agent-tools-version": "100.10.0" } \ No newline at end of file diff --git a/test/e2e/e2eutil.go b/test/e2e/e2eutil.go index 5b78df60a..41f64c287 100644 --- a/test/e2e/e2eutil.go +++ b/test/e2e/e2eutil.go @@ -70,7 +70,7 @@ func NewTestMongoDB(ctx *TestContext, name string, namespace string) (mdbv1.Mong Spec: mdbv1.MongoDBCommunitySpec{ Members: 3, Type: "ReplicaSet", - Version: "7.0.2", + Version: "8.0.0", Arbiters: 0, Security: mdbv1.Security{ Authentication: mdbv1.Authentication{ diff --git a/test/e2e/replica_set_enterprise_upgrade_7_8/replica_set_enterprise_upgrade_5_6_test.go b/test/e2e/replica_set_enterprise_upgrade_7_8/replica_set_enterprise_upgrade_5_6_test.go new file mode 100644 index 000000000..00cdf8f10 --- /dev/null +++ b/test/e2e/replica_set_enterprise_upgrade_7_8/replica_set_enterprise_upgrade_5_6_test.go @@ -0,0 +1,28 @@ +package replica_set + +import ( + "context" + "fmt" + "os" + "testing" + + e2eutil "github.com/mongodb/mongodb-kubernetes-operator/test/e2e" + "github.com/mongodb/mongodb-kubernetes-operator/test/e2e/replica_set_enterprise_upgrade" +) + +var ( + versionsForUpgrades = []string{"7.0.12", "8.0.0"} +) + +func TestMain(m *testing.M) { + code, err := e2eutil.RunTest(m) + if err != nil { + fmt.Println(err) + } + os.Exit(code) +} + +func TestReplicaSet(t *testing.T) { + ctx := context.Background() + replica_set_enterprise_upgrade.DeployEnterpriseAndUpgradeTest(ctx, t, versionsForUpgrades) +}