-
Notifications
You must be signed in to change notification settings - Fork 32
CLOUDP-364847: Remove unused MDB_IMAGE_TYPE environment variable #641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLOUDP-364847: Remove unused MDB_IMAGE_TYPE environment variable #641
Conversation
MCK 1.6.1 Release NotesBug Fixes
Other Changes
|
| value: mongodb-enterprise-server | ||
| - name: MONGODB_REPO_URL | ||
| value: quay.io/mongodb | ||
| - name: MDB_IMAGE_TYPE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a reference architecture file
|
@vinilage I will merge once I have your approval for the release notes |
| --- | ||
| kind: other | ||
| date: 2025-12-10 | ||
| --- | ||
|
|
||
| * **Operator configuration**: Removed the unused `MDB_IMAGE_TYPE` environment variable and the corresponding `mongodb.imageType` Helm value. This variable was deprecated in v1.28.0 of the MongoDB Enterprise Kubernetes Operator when it switched to architecture-based image selection (ubi9 for static, ubi8 for non-static). This is a cleanup change with no functional impact. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Summary
The
MDB_IMAGE_TYPEenvironment variable was originally used by the community operator but became orphaned after the MEKO/MCO merge. The community operator now usesMDB_COMMUNITY_IMAGE_TYPEinstead. It was used by the enterprise operator until around October 2024.Commit removing its usage: https://github.com/10gen/ops-manager-kubernetes/commit/e0127188c835c2bb374488533950824180faf490
And then, used by the community operator only.
This PR removes the unused variable from:
As a follow up of this ticket, I created WRITING-34891, to come up with an engineering proposal, which will propose a proper solution for configurable UBI base image selection.
Note: I added the documentation changes required in the Jira ticket, for public doc.
For example we mention it here: https://www.mongodb.com/docs/kubernetes/current/reference/kubectl-operator-settings/
Proof of Work
make precommitChecklist
skip-changeloglabel if not needed