Skip to content

[BUG] config-manager does not respect global registry #10056

@shanshanying

Description

@shanshanying
KubeBlocks: 1.0.2
kbcli: 1.0.0

For deploy KubeBlocks with registryConfig:

  registryConfig:
    defaultNamespace: apecloud
    defaultRegistry:  some-registry-other-than-docker.io

Then create a mysql cluster, and we noticed that the config-manger image is still from docker.io

k get its mysql-cluster-mysql -oyaml | yq '.spec.template.spec.containers[].image'
some-registry-other-than-docker.io/apecloud/mysql:8.0.35
some-registry-other-than-docker.io/apecloud/mysqld-exporter:0.15.1
some-registry-other-than-docker.io/apecloud/mysql:8.0.35
some-registry-other-than-docker.io/apecloud/mysql:8.0.44  # config-manager

Soon, it changes to

some-registry-other-than-docker.io/apecloud/mysql:8.0.35
some-registry-other-than-docker.io/apecloud/mysqld-exporter:0.15.1
some-registry-other-than-docker.io/apecloud/mysql:8.0.35
docker.io/apecloud/mysql:8.0.44   # config-manager

Metadata

Metadata

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions