Skip to content

clusterctl: cert-manager doesn't update even if image override has been changed #12119

Open
@dmvolod

Description

@dmvolod

What steps did you take and what happened?

We are using repository image override option in our clusterctl.yaml file as:

images:
  all:
    repository: myorg.io/local-repo

At some point, we may need to change the repository and update all components of the cluster API. We update the clusterctl.yaml file and run the clusterctl upgrade apply command. All providers are updated correctly, but the cert-manager is not updated.

What did you expect to happen?

We expect all components (providers + cert-manager) including deployments image paths to be updated as they are managed from the clustersctl.yaml file directly.

Cluster API version

v1.8.5

Kubernetes version

No response

Anything else you would like to add?

From the point of view of the cert-manager update code, I see that if its version does not change, then the only criterion for updating will be a different number of installed and installing objects, which is not true. In reality, the number of objects are the same, but the images in the Deployments are different. This should be validated in advance, as images can be managed from the clusterctl.yaml file.

Will fix this issue, if it suitable

Label(s) to be applied

/kind bug
/area clusterctl

Metadata

Metadata

Assignees

Labels

area/clusterctlIssues or PRs related to clusterctlkind/bugCategorizes issue or PR as related to a bug.priority/backlogHigher priority than priority/awaiting-more-evidence.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions