-
Notifications
You must be signed in to change notification settings - Fork 83
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
All Hops Encrypted: alpha Kourier support for encrypted backends #761
Conversation
Codecov Report
@@ Coverage Diff @@
## main #761 +/- ##
==========================================
+ Coverage 82.49% 83.07% +0.57%
==========================================
Files 18 18
Lines 777 827 +50
==========================================
+ Hits 641 687 +46
Misses 99 99
- Partials 37 41 +4
Continue to review full report at Codecov.
|
* Add `activator-ca` and `activator-name` keys in `config-network` This pach adds `activator-ca` and `activator-name` keys in `config-network`. Part of knative-extensions/net-kourier#750 knative-extensions/net-kourier#761 demonstrates how it works. * Rename activator-name to activator-san
This pach supports TLS server on each test image. It needs to verify if Ingress surely connects to the backend with TLS. The usage is as follows: 1. Create server certificate with the name `server-certs` in `serving-tests` namespace. ```shell $ kubectl create -n serving-tests secret tls server-certs \ --key=tls.key --cert=tls.crt ``` 1. Set env variable `UPSTREAM_TLS_CERT=server-certs` and run the tests. ```shell $ export UPSTREAM_TLS_CERT=server-certs $ go test -race -count=1 -tags=e2e ./test/conformance/ -run "TestIngressConformance/basic" ``` 1. The backend test server starts running with TLS. ```shell $ kubectl -n serving-tests logs ingress-conformance-basics-tfpnykaw 2022/01/27 11:54:14 Server starting on port with TLS 8047 ... ``` Part of knative-extensions/net-kourier#750 knative-extensions/net-kourier#761 demonstrates how it works.
This PR may be too big. I will separate it. |
I started to send a separated PR as #795 |
/hold cancel |
@nak3 Shouldn't the autogenerated file be ignored because of https://github.com/knative-sandbox/net-kourier/blob/8bbcbab80ee42a027c28073dcda67142f968af4c/.codecov.yaml#L15 ? I think we need to add another rule:
I suspect |
|
Ok wfm. |
LGTM, @rhuss may want to take a look too. I will create the PR to fix the coverage issue. |
The following is the coverage report on the affected files.
|
@nak3: The following test failed, say
Full PR test history. Your PR dashboard. 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/test-infra repository. I understand the commands that are listed here. |
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nak3, rhuss 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 |
/retest |
This patch adds the TLS support between Kourier and Activator.
TODO:
vendor
direcotryactivator-ca
andactivator-name
keys inconfig-network
knative/networking#608Fix #750