-
Notifications
You must be signed in to change notification settings - Fork 435
Rename metrics-certs to metrics-cert on the Kustomize configuration. #6345
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
Rename metrics-certs to metrics-cert on the Kustomize configuration. #6345
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
4290f1c
to
7de2344
Compare
Can we consider to align kustomize with Helm without changing helm? Helm is the recommended way so I care about backward compatibility here more. If we want to change helm, fair, but we need manual testing for the upgrade. |
I tested it with Helm. The upgrade works fine, and Helm also removes the previous certificate.
But yes, maybe it's better to rename it to |
Ok, just update the title and release note then accordingly |
/hold let me test this changes manually. |
With the recent Kustomization changes, we're seeing certificate conflicts:
The error in the conditions confirms the issue: ...
status:
conditions:
- lastTransitionTime: "2025-08-01T11:40:05Z"
message: Secret was issued for "kueue-metrics-certs". If this message is not
transient, you might have two conflicting Certificates pointing to the same
secret.
observedGeneration: 1
reason: IncorrectCertificate
status: "False"
type: Ready To resolve this, users should manually delete the old |
/retest Due to #6227. |
Thank you for explaining. This makes sense, so the change is breaking, but only for users of kustomize. I'm ok to make the change to align the kustomize and helm setups, it will make life much easier and allow for helm generation going forward. I'm on the fence regarding cherry-picking. Maybe we can handle this as a "consistency bug" wdyt @tenzen-y ? |
/lgtm |
LGTM label has been added. Git tree hash: cc402d108124ea96b075c8b5044c3f731321c89d
|
Does |
Maybe @mbobrovskyi can clarify, but I think the release manifests don't include the cert-manager config |
No, the release manifests don't include the cert-manager config. kueue/config/default/kustomization.yaml Lines 29 to 30 in eb2f1b1
|
Yes, that's what I meant. |
Thank you for clarifying that. SGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
/hold cancel
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mbobrovskyi, mimowo, tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@mbobrovskyi Do we need to cherry-pick this PR to release-0.12 and rerelase-0.13? |
I would call it an inconsistency bug and cherrypick @tenzen-y |
SGTM /cherry-pick release-0.12 |
@tenzen-y: once the present PR merges, I will cherry-pick it on top of In response to this:
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. |
@tenzen-y: new pull request created: #6361 In response to this:
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. |
@tenzen-y: new pull request created: #6362 In response to this:
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. |
…ubernetes-sigs#6345) * Rename metrics-cert to metrics-certs. * Revert "Rename metrics-cert to metrics-certs." This reverts commit 7de2344. * Rename metrics-certs to metrics-cert.
What type of PR is this?
/kind bug
What this PR does / why we need it:
Rename metrics-certs to metrics-cert on the Kustomize configuration.
Which issue(s) this PR fixes:
Prepare for #5929
Special notes for your reviewer:
Does this PR introduce a user-facing change?