Skip to content

OCPBUGS-9037, OCPBUGS-64565: Ensure canary cert matches the default ingress controller's cert#1334

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
rfredette:ocpbugs-9037-canary-cert-controller
Jan 27, 2026
Merged

OCPBUGS-9037, OCPBUGS-64565: Ensure canary cert matches the default ingress controller's cert#1334
openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
rfredette:ocpbugs-9037-canary-cert-controller

Conversation

@rfredette
Copy link
Contributor

Add the canary certificate controller, which makes sure the certificate used for the ingress canary is the same as the default ingress controller's certificate.

This is part of the fix for OCPBUGS-9037 and OCPBUGS-64565

@openshift-ci-robot openshift-ci-robot added jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. labels Jan 5, 2026
@openshift-ci-robot
Copy link
Contributor

@rfredette: This pull request references Jira Issue OCPBUGS-9037, which is invalid:

  • expected the bug to target either version "4.22." or "openshift-4.22.", but it targets "4.21.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

This pull request references Jira Issue OCPBUGS-64565, which is invalid:

  • expected the bug to target either version "4.22." or "openshift-4.22.", but it targets "4.21.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Add the canary certificate controller, which makes sure the certificate used for the ingress canary is the same as the default ingress controller's certificate.

This is part of the fix for OCPBUGS-9037 and OCPBUGS-64565

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Jan 5, 2026
@openshift-ci openshift-ci bot requested review from candita and knobunc January 5, 2026 19:41
@rfredette rfredette force-pushed the ocpbugs-9037-canary-cert-controller branch from 15e310a to 561d439 Compare January 5, 2026 19:43
@Miciah
Copy link
Contributor

Miciah commented Jan 6, 2026

/assign

@candita
Copy link
Contributor

candita commented Jan 6, 2026

Does this replace #1155?

@rfredette rfredette force-pushed the ocpbugs-9037-canary-cert-controller branch from 561d439 to 7d145cd Compare January 6, 2026 17:50
@rfredette
Copy link
Contributor Author

Does this replace #1155?

Yes, it does. It was failing all e2e tests, so I wanted to wait until it's not totally unsound before obsoleting that PR.

@rfredette
Copy link
Contributor Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Jan 6, 2026
@openshift-ci-robot
Copy link
Contributor

@rfredette: This pull request references Jira Issue OCPBUGS-9037, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @lihongan

This pull request references Jira Issue OCPBUGS-64565, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @lihongan

Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from lihongan January 6, 2026 20:05
@candita
Copy link
Contributor

candita commented Jan 7, 2026

/assign

@rfredette rfredette force-pushed the ocpbugs-9037-canary-cert-controller branch from 7d145cd to ccf76b2 Compare January 8, 2026 19:20
@candita
Copy link
Contributor

candita commented Jan 8, 2026

/approve

Hold for @Miciah to tag with lgtm.
/hold

@Miciah
Copy link
Contributor

Miciah commented Jan 21, 2026

The lack of EquateEmpty is the only thing I noticed that might have some functional impact. Other comments and suggestions concern trivial stylistic issues. Feel free to accept or drop those suggestions.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 21, 2026
Add the canary certificate controller, which makes sure the certificate
used for the ingress canary is the same as the default ingress
controller's certificate.

This is part of the fix for OCPBUGS-9037 and OCPBUGS-64565
@rfredette rfredette force-pushed the ocpbugs-9037-canary-cert-controller branch from ccf76b2 to cbd2ce5 Compare January 21, 2026 22:47
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 21, 2026
@Miciah
Copy link
Contributor

Miciah commented Jan 22, 2026

Excellent! Thanks!

/lgtm

/hold cancel

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Jan 22, 2026
@lihongan
Copy link
Contributor

/retest

@rfredette
Copy link
Contributor Author

/retest-required

@lihongan
Copy link
Contributor

/verified by @lihongan

$ oc get co/ingress
NAME      VERSION                                                AVAILABLE   PROGRESSING   DEGRADED   SINCE   MESSAGE
ingress   4.22.0-0-2026-01-26-021051-test-ci-ln-66tbq2k-latest   True        False         False      42m     

// with this change, the server certificate looks like
$ curl https://canary-openshift-ingress-canary.apps.ci-ln-66tbq2k-76ef8.aws-2.ci.openshift.org -kv
<......>
* Server certificate:
*  subject: CN=*.apps.ci-ln-66tbq2k-76ef8.aws-2.ci.openshift.org
*  start date: Jan 26 02:31:55 2026 GMT
*  expire date: Jan 26 02:31:56 2028 GMT
*  issuer: CN=ingress-operator@1769394712
 
// without the change, canary route uses certificate issued by openshift-service-serving-signer
* Server certificate:
*  subject: CN=ingress-canary.openshift-ingress-canary.svc
*  start date: Jan 26 06:50:35 2026 GMT
*  expire date: Jan 26 06:50:36 2028 GMT
*  issuer: CN=openshift-service-serving-signer@1769410009

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jan 26, 2026
@openshift-ci-robot
Copy link
Contributor

@lihongan: This PR has been marked as verified by @lihongan.

Details

In response to this:

/verified by @lihongan

$ oc get co/ingress
NAME      VERSION                                                AVAILABLE   PROGRESSING   DEGRADED   SINCE   MESSAGE
ingress   4.22.0-0-2026-01-26-021051-test-ci-ln-66tbq2k-latest   True        False         False      42m     

// with this change, the server certificate looks like
$ curl https://canary-openshift-ingress-canary.apps.ci-ln-66tbq2k-76ef8.aws-2.ci.openshift.org -kv
<......>
* Server certificate:
*  subject: CN=*.apps.ci-ln-66tbq2k-76ef8.aws-2.ci.openshift.org
*  start date: Jan 26 02:31:55 2026 GMT
*  expire date: Jan 26 02:31:56 2028 GMT
*  issuer: CN=ingress-operator@1769394712

// without the change, canary route uses certificate issued by openshift-service-serving-signer
* Server certificate:
*  subject: CN=ingress-canary.openshift-ingress-canary.svc
*  start date: Jan 26 06:50:35 2026 GMT
*  expire date: Jan 26 06:50:36 2028 GMT
*  issuer: CN=openshift-service-serving-signer@1769410009

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD f97a448 and 2 for PR HEAD cbd2ce5 in total

@rikatz
Copy link
Member

rikatz commented Jan 26, 2026

pending merge of #1142

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 6ea8127 and 1 for PR HEAD cbd2ce5 in total

@rikatz
Copy link
Member

rikatz commented Jan 26, 2026

@rfredette maybe it is worth rebasing over master as Grant's fix has merged

edit: nevermind, it is passing now 🥳

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD ea67a8c and 0 for PR HEAD cbd2ce5 in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision cbd2ce5 was retested 3 times: holding

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 27, 2026
@melvinjoseph86
Copy link

/retest

@rikatz
Copy link
Member

rikatz commented Jan 27, 2026

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 27, 2026
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 9963c95 and 2 for PR HEAD cbd2ce5 in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 27, 2026

@rfredette: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit eeb7347 into openshift:master Jan 27, 2026
16 checks passed
@openshift-ci-robot
Copy link
Contributor

@rfredette: Jira Issue OCPBUGS-9037: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-9037 has been moved to the MODIFIED state.

Jira Issue Verification Checks: Jira Issue OCPBUGS-64565
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-64565 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

Details

In response to this:

Add the canary certificate controller, which makes sure the certificate used for the ingress canary is the same as the default ingress controller's certificate.

This is part of the fix for OCPBUGS-9037 and OCPBUGS-64565

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-robot
Copy link
Contributor

Fix included in accepted release 4.22.0-0.nightly-2026-01-28-225830

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants