Skip to content

chore - minio simplification, only use create#891

Draft
nammn wants to merge 6 commits intomasterfrom
fix-creation-minio
Draft

chore - minio simplification, only use create#891
nammn wants to merge 6 commits intomasterfrom
fix-creation-minio

Conversation

@nammn
Copy link
Collaborator

@nammn nammn commented Mar 11, 2026

Summary

  • only use get and use http status code for simplicity

Proof of Work

https://spruce.corp.mongodb.com/version/69b16a9118291b00071b9d09/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

Checklist

  • Have you linked a jira ticket and/or is the ticket in the title?
  • Have you checked whether your jira ticket required DOCSP changes?
  • Have you added changelog file?

@nammn nammn changed the title Fix creation minio chore - minio cleanup, only use create Mar 11, 2026
@nammn nammn changed the title chore - minio cleanup, only use create chore - minio simplification, only use create Mar 11, 2026
@nammn nammn added the skip-changelog Use this label in Pull Request to not require new changelog entry file label Mar 11, 2026
@github-actions
Copy link

⚠️ (this preview might not be accurate if the PR is not rebased on current master branch)

MCK 1.7.1 Release Notes

Other Changes

  • Container images: Merged the init-database and init-appdb init container images into a single init-database image. The init-appdb image will no longer be published and does not affect existing deployments.
  • Helm Chart: Removed operator.baseName Helm value. This value was never intended to be consumed by operator users and was never documented. The value controls the prefix for workload RBAC resource names (mongodb-kubernetes default), but changing it could break the operator and workloads because the operator is not aware of custom prefixes. With this change, the Helm chart will no longer allow customisation and the relevant resources will be deployed with predefined names (ServiceAccount with names mongodb-kubernetes-appdb, mongodb-kubernetes-database-pods, mongodb-kubernetes-ops-manager, Role with name mongodb-kubernetes-appdb and RoleBinding with name mongodb-kubernetes-appdb).

status_code = ce.response.get("ResponseMetadata", {}).get("HTTPStatusCode")
message_code = ce.response.get("Error", {}).get("Code", "")
if status_code == 409:
logger.debug(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should print the error nevertheless if it's 409 or not. Otherwise we don't print anything for other errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Use this label in Pull Request to not require new changelog entry file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants