You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLOUDP-339609 - migrate repo from mongodb/mongodb-agent-ubi to mongodb/mongodb-agent (#357)
# Summary
This pull request updates all references to the MongoDB agent image to
remove the `-ubi` suffix, standardizing on `mongodb-agent` instead of
`mongodb-agent-ubi` throughout the codebase, configuration files, tests,
and documentation. This change ensures consistency across the project
and aligns image names with the new naming convention.
**Image Reference Standardization**
* Updated all references in Kubernetes manifests, Helm charts, and
configuration files to use `quay.io/mongodb/mongodb-agent` instead of
`quay.io/mongodb/mongodb-agent-ubi` for agent images and repositories.
[[1]](diffhunk://#diff-ce0d597a9e5f20a8fe61c3ba5e6185a6b90cfef2c00bb5b5ef3e97b15b79f480L90-R92)
[[2]](diffhunk://#diff-ce0d597a9e5f20a8fe61c3ba5e6185a6b90cfef2c00bb5b5ef3e97b15b79f480L113-R113)
[[3]](diffhunk://#diff-ce0d597a9e5f20a8fe61c3ba5e6185a6b90cfef2c00bb5b5ef3e97b15b79f480L134-R166)
[[4]](diffhunk://#diff-bea58e6c4af1864777b1666c77dbdca5408ed045490647b75c72f5865b8fe5eaL513-R515)
[[5]](diffhunk://#diff-bea58e6c4af1864777b1666c77dbdca5408ed045490647b75c72f5865b8fe5eaL534-R534)
[[6]](diffhunk://#diff-239878330b8ecfb1d07fef9586382ed93193c3a08ac70a05e153ebf86c1450ebL48-R48)
[[7]](diffhunk://#diff-27a85ff682a5b1cbd1c7114fc422eb2ad93fefeda6c83d20ba985008d1128650L50-R50)
[[8]](diffhunk://#diff-ff27d78754635dd120f1b00c8c8747d1af3329500135dfe2ccf0dc68fd1db7edL146-R146)
[[9]](diffhunk://#diff-ff27d78754635dd120f1b00c8c8747d1af3329500135dfe2ccf0dc68fd1db7edL199-R199)
[[10]](diffhunk://#diff-d77d6b22626c434c154dc42bed17cc4fa49b6f5adaaa18bf6cee12100cb6b86bL2-R2)
* Updated `build_info.json` to use the new image repository names for
both patch and release builds.
[[1]](diffhunk://#diff-ac3b10589f332066db566cb08c01afea746d5f16e704beef946107a0c5de5225L253-R253)
[[2]](diffhunk://#diff-ac3b10589f332066db566cb08c01afea746d5f16e704beef946107a0c5de5225L270-R270)
**Code and Test Updates**
* Changed all code comments, environment variables, and default values
to reference the new agent image name.
* Updated all test cases and test configurations to use the new image
name, ensuring test coverage matches the new convention.
[[1]](diffhunk://#diff-dc7b8e9312069dfda96a4550e699f2e6a4773db2264e0207828b9ba6f8b4a187L445-R453)
[[2]](diffhunk://#diff-dc7b8e9312069dfda96a4550e699f2e6a4773db2264e0207828b9ba6f8b4a187L469-R477)
[[3]](diffhunk://#diff-dc7b8e9312069dfda96a4550e699f2e6a4773db2264e0207828b9ba6f8b4a187L495-R503)
[[4]](diffhunk://#diff-67860757b43aff75ae2a656e47ac7d6c8556393edcdf9b050ba5c6423e4cbeb3L141-R141)
[[5]](diffhunk://#diff-b08ee4b5c878509c5285d61013dfae3c561f09a0fee609dd8d524fa4f4f3b4b8L554-R554)
[[6]](diffhunk://#diff-8b14eb5f38f98ab7672baa0a05be8e51744444677753390c2806be25c38f23d3L132-R132)
[[7]](diffhunk://#diff-8b14eb5f38f98ab7672baa0a05be8e51744444677753390c2806be25c38f23d3L160-R160)
[[8]](diffhunk://#diff-da71fae5b66898a115c77ac62de9055ed38b1a21e5b960f07783df9a8111a29eL297-R297)
[[9]](diffhunk://#diff-b617c391a0cf12957a3e85468362a7f6222738b16391c7d6b6891f957fca65abL112-R112)
[[10]](diffhunk://#diff-f8c985ec51c81f08f0ad0418caebb08ac51a4be33c2031cad5bf48ce4eef538cL166-R166)
**Documentation and Output Updates**
* Updated documentation and generated output files to reflect the new
agent image name, ensuring user-facing materials are consistent.
* Modified scripts and supporting files to use the new image repository
for reporting and automation.
## Proof of Work
- manually released all the agents to ecr `mongodb-agent`:
[Link](https://spruce.mongodb.com/task/mongodb_kubernetes_manual_ecr_release_agent_release_all_agents_on_ecr_patch_cda9f730105c7b461ebb9a5fcf6adfea66006d35_68a6d0ec14d69200071b7420_25_08_21_07_55_26/logs?execution=0)
- passing ci
- script that relocated all agents
## Checklist
- [x] Have you linked a jira ticket and/or is the ticket in the title?
- [x] Have you checked whether your jira ticket required DOCSP changes?
- [x] Have you added changelog file?
- use `skip-changelog` label if not needed
- refer to [Changelog files and Release
Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes)
section in CONTRIBUTING.md for more details
---------
Co-authored-by: Lucian Tosa <lucian.tosa@mongodb.com>
Co-authored-by: Julien Benhaim <julien.benhaim@mongodb.com>
Co-authored-by: Maciej Karaś <6159874+MaciejKaras@users.noreply.github.com>
Co-authored-by: Maciej Karaś <maciej.karas@mongodb.com>
Co-authored-by: mms-build-account <mms-admin+pullonly@10gen.com>
Co-authored-by: Evergreen <kubernetes-hosted-team@mongodb.com>
Co-authored-by: Vivek Singh <vsingh.ggits.2010@gmail.com>
Co-authored-by: Lucian Tosa <49226451+lucian-tosa@users.noreply.github.com>
* MongoDB Agent images have been migrated to new container repository: `quay.io/mongodb/mongodb-agent`.
8
+
* the agents in the new repository will support the x86-64, ARM64, s390x, and ppc64le architectures. More can be read in the [public docs](https://www.mongodb.com/docs/kubernetes/upcoming/tutorial/plan-k8s-op-container-images/).
9
+
* operator running >=MCK1.3.0 and static cannot use the agent images from the old container repository `quay.io/mongodb/mongodb-agent-ubi`.
10
+
*`quay.io/mongodb/mongodb-agent-ubi` should not be used anymore, it's only there for backwards compatibility.
0 commit comments