Skip to content

Conversation

@dprotaso
Copy link
Member

Fixes: #15232

Proposed Changes

  • Fix cluster.local Routes not reconciling when external-tls is enabled

Release Note

Fix cluster.local Routes not reconciling when external-tls is enabled

@knative-prow knative-prow bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 22, 2024
@dprotaso
Copy link
Member Author

/assign @ReToCode

@knative-prow knative-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 22, 2024
@knative-prow knative-prow bot requested review from ReToCode and izabelacg May 22, 2024 21:43
@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 22, 2024
@codecov
Copy link

codecov bot commented May 22, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 84.75%. Comparing base (a0a1ac7) to head (06d7e60).
Report is 4 commits behind head on main.

Files Patch % Lines
pkg/reconciler/route/route.go 75.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15234      +/-   ##
==========================================
- Coverage   84.76%   84.75%   -0.01%     
==========================================
  Files         218      218              
  Lines       13473    13479       +6     
==========================================
+ Hits        11420    11424       +4     
- Misses       1687     1688       +1     
- Partials      366      367       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dprotaso
Copy link
Member Author

/cherry-pick release-1.14

@knative-prow-robot
Copy link
Contributor

@dprotaso: once the present PR merges, I will cherry-pick it on top of release-1.14 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.14

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.

@dprotaso dprotaso changed the title [wip] fix cluster-local routes being stalled when external-domain-tls is enabled fix cluster-local routes being stalled when external-domain-tls is enabled May 22, 2024
@knative-prow knative-prow bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 22, 2024
@dprotaso
Copy link
Member Author

/retest

@ReToCode
Copy link
Contributor

Aw, that is a tricky one. The code was confusing before, but with this it is even more implicit. Maybe it would be a good idea to introduce another condition to separate cluster-local from external-domain certificates? It's a bit hard to follow that the condition is influenced by two feature flags and if there is actually a route (e.g. external-domain-tls enabled but no external routes and cluster-local-domain-tls disabled).

We could even have better messages like

  • external-domain-tls: feature is disabled
  • external-domain-tls: no certificate required, no external domains found

@dprotaso WDYT? And if ok, this PR or we can do it as a followup for 1.15?

@dprotaso
Copy link
Member Author

dprotaso commented May 23, 2024

@dprotaso WDYT? And if ok, this PR or we can do it as a followup for 1.15?

Lets talk about this and do follow up for 1.15 - can you make an issue? This PR is to unblock the bug and cherry-pick back to 1.14 release branch.

@ReToCode
Copy link
Contributor

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label May 23, 2024
@knative-prow
Copy link

knative-prow bot commented May 23, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, ReToCode

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot merged commit 45388c0 into knative:main May 23, 2024
@knative-prow-robot
Copy link
Contributor

@dprotaso: new pull request created: #15243

In response to this:

/cherry-pick release-1.14

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

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Route in unknown status in v1.14

3 participants