-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
When setting a custom registry url the imageType is ignored.
What did you do to encounter the bug?
Deploy the operator with a custom community.mongodb.repo value:
community:
mongodb:
repo: registry.example.com/quay.io/mongodbWhat did you expect?
I expect the mongodb pods to use the image registry.example.com/quay.io/mongodb/mongodb-community-server:8.2.3-ubi8.
What happened instead?
Due to the logic in controllers/replica_set_controller.go the resulting image tag is registry.example.com/quay.io/mongodb/mongodb-community-server:8.2.3, without the imageType appended. When using a simple pull cache, this fails, because all images are pushed with the variant appended to the tag.
Operator Information
- Operator Version: 1.6.1
- MongoDB Image used: 8.2.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels