Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message: "more than one config maps were found" (please add version info) #529

Open
guettli opened this issue May 13, 2024 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@guettli
Copy link
Contributor

guettli commented May 13, 2024

User Story

We use the cluster-api-operator and we see that message in a condition during an upgrade:

"more than one config maps were found for given selector: &LabelSelector{MatchLabels:map[string]string{provider-components: foo,},MatchExpressions:[]LabelSelectorRequirement{},}"

Details of the condition we see:

crd: coreproviders
name: cluster-api
ProviderUpgraded=False
ComponentsUpgradeError

As a [developer/user/operator] I would like to know during an upgrade if this relates to an old version or a new version.

Detailed Description

I had a short look at the code, but could not find a straight forward way to add the version info into the message of the condition.

/kind feature

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels May 13, 2024
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If CAPI Operator contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

2 participants