Skip to content
This repository was archived by the owner on Dec 1, 2022. It is now read-only.

Enable internal-tls on ocp-tls#1203

Merged
openshift-merge-robot merged 2 commits intoopenshift:mainfrom
nak3:enable-tls
Aug 8, 2022
Merged

Enable internal-tls on ocp-tls#1203
openshift-merge-robot merged 2 commits intoopenshift:mainfrom
nak3:enable-tls

Conversation

@nak3
Copy link
Copy Markdown

@nak3 nak3 commented Aug 3, 2022

This patch enables internal-tls and run e2e tests with it on OCP 4.10-tls.
In the future, we would like to enable it on all OCP versions.

@openshift-ci openshift-ci Bot requested review from rhuss and skonto August 3, 2022 10:03
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 3, 2022
@skonto
Copy link
Copy Markdown

skonto commented Aug 3, 2022

What if we add just one e2e-aws-ocp-410-tls? It is middle ground I guess.

@nak3
Copy link
Copy Markdown
Author

nak3 commented Aug 3, 2022

Yeah, that's the alternative idea but we should avoid adding the extra one I think.

Or, I am thinking that we might want to drop OCP 4.7, 4.8 and (4.9) like eventing openshift/knative-eventing#1810 then add OCP-4.10-tls

@nak3
Copy link
Copy Markdown
Author

nak3 commented Aug 3, 2022

/hold

@skonto How about this?

  • drop ... 4.7, 4.8
  • add ... 4.10-tls

@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 Aug 3, 2022
@skonto
Copy link
Copy Markdown

skonto commented Aug 3, 2022

Let's drop 4.8, 4.9 and keep 4.7? Soon 4.6 should be gone I guess, wdyth?

@nak3 nak3 changed the title Enable internal-tls on OCP 4.8 Enable internal-tls on ocp-tls Aug 4, 2022
@nak3 nak3 removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 8, 2022
@skonto
Copy link
Copy Markdown

skonto commented Aug 8, 2022

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 8, 2022
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Aug 8, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nak3, skonto

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@openshift-merge-robot openshift-merge-robot merged commit a42405d into openshift:main Aug 8, 2022
openshift-merge-robot pushed a commit that referenced this pull request Sep 9, 2022
…ically (#1236)

* [RELEASE-v1.5] Add manifest patch for internal-tls to `openshift/release/artifacts` (#1202)

* Add secret to 1.5 CI yaml

* auto generated

* Support config to deploy internal certificates automatically (knative#13005)

* Add certificate reconciler for internal certs

* Fix cert path

* Temporary use local networking repo

* Support internal-encryption configuration

* Use const for cert name

* Fix lint

* rm blank line

* Drop unused variable

* Use one line style

* Use one line code

* Update net-kourier nightly

bumping knative.dev/net-kourier d758682...b9b1e8b:
  > b9b1e8b Use `internal-encryption` to deploy internal certificates automatically (# 855)
  > 427434c bump kind and k8s versions in kind-e2e tests (# 859)

Signed-off-by: Knative Automation <automation@knative.team>

* Verify SecretPKKey as well

* Do not drop activator always in the path

* Comment about ctrl-ca suffix

Co-authored-by: Knative Automation <automation@knative.team>

* Update deps

* Enable internal-tls on ocp-tls (#1203)

* Enable internal-tls on OCP 4.8

* Use tls to match JOB name

* Add a target to enable internal-tls in Makefile (#1224)

* Add a target to enable internal-tls in Makefile

* Update CI template for internal-tls enabled

* Tests for encryption with Kourier local gateway (knative#13263)

* Generate Secrets

* Commit generated cert-secret.yaml

* httpproxy enables tls client

* httpproxy uses https when CA_CERT specified

* Pass CA_CERT and SERVER_NAME env variables properly to tests

* Avoid using cluster-local certificates for external services

* Enable tls tests for cluster-local Kourier gateway

* Need to create test resources including the test namespace first
before installing Knative so that applying
test/config/tls/cert-secret.yaml succeeds

* TMP: Enable tls in the standard e2e make target - test purposes

* Use knative-serving-ingress ns for deploying server-certs

* Deploy certificates at test phase

* Separate test and install of installing certs

* Wait for knative-serving-ingress to exist

* Revert "TMP: Enable tls in the standard e2e make target - test purposes"

This reverts commit 5bb3549.

Co-authored-by: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
Co-authored-by: Knative Automation <automation@knative.team>
openshift-merge-robot pushed a commit that referenced this pull request Sep 9, 2022
* Enable internal-tls on ocp-tls (#1203)

* Enable internal-tls on OCP 4.8

* Use tls to match JOB name

* Add a target to enable internal-tls in Makefile (#1224)

* Add a target to enable internal-tls in Makefile

* Update CI template for internal-tls enabled

* Tests for encryption with Kourier local gateway (knative#13263)

* Generate Secrets

* Commit generated cert-secret.yaml

* httpproxy enables tls client

* httpproxy uses https when CA_CERT specified

* Pass CA_CERT and SERVER_NAME env variables properly to tests

* Avoid using cluster-local certificates for external services

* Enable tls tests for cluster-local Kourier gateway

* Need to create test resources including the test namespace first
before installing Knative so that applying
test/config/tls/cert-secret.yaml succeeds

* TMP: Enable tls in the standard e2e make target - test purposes

* Fix indentation

* Use knative-serving-ingress ns for deploying server-certs

* Deploy certificates at test phase

* Separate test and install of installing certs

* Wait for knative-serving-ingress to exist

* Revert "TMP: Enable tls in the standard e2e make target - test purposes"

This reverts commit 54fabb3.

Co-authored-by: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants