Skip to content

MongoDB images seem to be pulled from quay.io although custom registry is configured #952

@andreas-hempel

Description

@andreas-hempel

Hello,

we are using the mongodb-kubernetes-operator in our Rancher-managed Kubernetes cluster.
The operator itself is successfully pulled from our internal Harbor registry, and we have adjusted all registry-related values in the values.yaml accordingly.

mongodb-kubernetes:
  registry:
    operator: harbor.mydomain.net/quayio/mongodb

registry:
  # Specify if images are pulled from private registry
  operator: harbor.mydomain.net/quayio/mongodb
  database: harbor.mydomain.net/quayio/mongodb
  initDatabase: harbor.mydomain.net/quayio/mongodb
  initOpsManager: harbor.mydomain.net/quayio/mongodb
  opsManager: harbor.mydomain.net/quayio/mongodb
  initAppDb: harbor.mydomain.net/quayio/mongodb
  agent: harbor.mydomain.net/quayio/mongodb
  versionUpgradeHook: harbor.mydomain.net/quayio/mongodb
  readinessProbe: harbor.mydomain.net/quayio/mongodb

community:
  mongodb:
    repo: harbor.mydomain.net/quayio/mongodb
  registry:
    agent: harbor.mydomain.net/quayio/mongodb

search:
  repo: harbor.mydomain.net/quayio/mongodb

However, we are seeing unexpected behavior regarding the MongoDB Pods:

  • In Rancher, the MongoDB Pods are shown as using images from quay.io
  • At the same time, in our Rancher proxy repository (pointing to Harbor), the MongoDB image is visible
  • The push and pull timestamps in Harbor match the time of our deployment and configuration changes
Image Image

Because of this, it is unclear to us from which registry the MongoDB image is actually pulled at runtime:

  • directly from quay.io, or
  • via our internal Harbor registry / proxy repository

What we have done so far:

  • Configured all image registry settings in values.yaml to point to our Harbor registry
  • Verified that the operator image itself is pulled from Harbor
  • Checked Rancher UI, which still shows quay.io as the image source for MongoDB Pods
  • Verified that the image exists in Harbor and that pull activity is visible there

Question / Help needed:

  • How can we reliably verify which registry the MongoDB image is actually pulled from?
  • Is the image name shown in Rancher (e.g. quay.io/...) only cosmetic, while the real pull happens via the configured registry/proxy?
  • Are there additional settings in the operator or Helm chart that control the MongoDB image registry independently of the operator image?

Any guidance on how to validate this or pointers to relevant configuration options would be greatly appreciated.
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions