Skip to content
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

Remove tls conditions from source code #320

Closed
wants to merge 1 commit into from
Closed

Remove tls conditions from source code #320

wants to merge 1 commit into from

Conversation

mmorhun
Copy link
Contributor

@mmorhun mmorhun commented Jun 25, 2020

Signed-off-by: Mykola Morhun mmorhun@redhat.com

What does this PR do?

Removes tls support flag from source code which makes it impossible to deploy Eclipse Che without TLS any more.
tlsSupport fields is still present in Che custom resource, however it is only for backward compatibility and the flag has no effect any more.

What issues does this PR fix or reference?

eclipse-che/che#17090

Tests

Testing was done on CRC with the folowing scenario:

  1. Deploy Eclipse Che without TLS support
  2. Create and start a workspace
  3. Stop the workspace
  4. Update operator image
  5. Wait until new operator reconcile
  6. Import self-signed-certificate into browser (chectl cacert:export helpful here)
  7. Open dashboard and start the workspace
  8. Open Che-Theia (welcome webview works now), build and run an embedded project via a command

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@nickboldt
Copy link
Contributor

How long ago did we announce this was deprecated? @l0rd isn't the policy something like 3 sprints after deprecation, THEN we can remove API?

I'm all for removing cruft but do we need to at least WARN people since this DOES affect users and customers?

@l0rd
Copy link
Contributor

l0rd commented Jul 1, 2020

How long ago did we announce this was deprecated? @l0rd isn't the policy something like 3 sprints after deprecation, THEN we can remove API?

I'm all for removing cruft but do we need to at least WARN people since this DOES affect users and customers?

I agree with @nickboldt. And I have to disagree with myself of just a couple of weeks ago.

I mean removing unsecure HTTP support is NOT removing a fully working API but an API that got (partially) broken 6 months ago, so that's not a big concern but...we agreed that we would remove unsecure HTTP support only after we had improved self-signed certificates scenarios UX and even if eclipse-che/che#16764 got fixed:

  • we still didn't get any feedback on automatic configuration from real world customers (we need to wait CRW 2.2 release for that)
  • more important I figured out that some customers will never accept to install an untrusted certificate on their local workstations. Hence self-signed is not an option for them until we get rid of the local certificate installation requirement (i.e. this get fixed).

In other words a broken, unsecure Che is still better than no-Che at all. Let's wait 3 sprints to get some feedback on automatic TLS configuration and eclipse-che/che#12914 resolution.

In the meantime we can start warning the community on che-dev mailing list. @mmorhun @tolusha are you ok with that? That means putting this work on hold and can be frustrating but it looks the better thing to do right now.

@tolusha
Copy link
Contributor

tolusha commented Jul 1, 2020

@l0rd
So, We are going to remove unsecure HTTP once eclipse-che/che#12914 is done and after warning the community,

But what I don't understand what is the difference between fully working API and API that got (partially) broken 6 months ago. Could you explain pls?

@l0rd
Copy link
Contributor

l0rd commented Jul 1, 2020

But what I don't understand what is the difference between fully working API and API that got (partially) broken 6 months ago. Could you explain pls?

@tolusha that was because @nickboldt was asking: "isn't the policy something like 3 sprints after deprecation, THEN we can remove API?" (the "API" that we want to remove is the no-TLS option). And my reply was that is true, we should first deprecate, wait and then remove, but in this case the situation is slightly different because the no-TLS "API" is broken since 6 months (i.e. Che Theia webview doesn't work).

@openshift-ci-robot
Copy link

@mmorhun: PR needs rebase.

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.

@openshift-ci-robot
Copy link

@mmorhun: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/v5-che-operator-olm-nightly b2e9089 link /test v5-che-operator-olm-nightly
ci/prow/v5-images b2e9089 link /test v5-images
ci/prow/v5-che-operator-olm-latest-changes-tests b2e9089 link /test v5-che-operator-olm-latest-changes-tests
ci/prow/v3-che-operator-update b2e9089 link /test v3-che-operator-update

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.

@openshift-merge-robot
Copy link

@mmorhun: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/v7-che-operator-proxy-deployment b2e9089 link /test v7-che-operator-proxy-deployment

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.

@openshift-ci-robot
Copy link

@mmorhun: PR needs rebase.

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.

@openshift-ci
Copy link

openshift-ci bot commented May 18, 2021

@mmorhun: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/v7-ci-index b2e9089 link /test v7-ci-index
ci/prow/v7-images b2e9089 link /test v7-images
ci/prow/v7-olm-nightly-deployment b2e9089 link /test v7-olm-nightly-deployment
ci/prow/v7-single-host-nightly-deployment b2e9089 link /test v7-single-host-nightly-deployment
ci/prow/v8-che-behind-proxy b2e9089 link /test v8-che-behind-proxy
ci/prow/v8-ci-index b2e9089 link /test v8-ci-index
ci/prow/v8-single-host-nightly-deployment b2e9089 link /test v8-single-host-nightly-deployment
ci/prow/v8-images b2e9089 link /test v8-images
ci/prow/v8-olm-nightly-deployment b2e9089 link /test v8-olm-nightly-deployment
ci/prow/v7-devworkspace-happy-path b2e9089 link /test v7-devworkspace-happy-path
ci/prow/v8-multi-host-nightly-deployment b2e9089 link /test v8-multi-host-nightly-deployment
ci/prow/v7-multi-host-nightly-deployment b2e9089 link /test v7-multi-host-nightly-deployment
ci/prow/v7-stable-to-nightly b2e9089 link /test v7-stable-to-nightly

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.

@mmorhun
Copy link
Contributor Author

mmorhun commented May 19, 2021

PR is heavily outdated.

@mmorhun mmorhun closed this May 19, 2021
@tolusha tolusha deleted the che-17090 branch January 19, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants