-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support git operation for repos with self-signed SSL certs #15218
Conversation
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1) ℹ️ |
Signed-off-by: Vitalii Parfonov <[email protected]>
3c247f4
to
bb4fefb
Compare
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1) ℹ️ |
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.
LGTM
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1) ℹ️ |
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
Signed-off-by: Vitalii Parfonov <[email protected]>
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1) ℹ️ |
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
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.
LGTM
Add new boolean property gitSelfSignedCertthat applies environment variables that contain SSL certificate and git host written from che-git-self-signed-cert config map. The same logic is applied for the helm deployment: eclipse-che/che#15218 fixes eclipse-che/che#15285 Docs PR: eclipse-che/che-docs#1001 Signed-off-by: Igor Vinokur <[email protected]>
Add new boolean property gitSelfSignedCertthat applies environment variables that contain SSL certificate and git host written from che-git-self-signed-cert config map. The same logic is applied for the helm deployment: eclipse-che/che#15218 fixes eclipse-che/che#15285 Docs PR: eclipse-che/che-docs#1001 Signed-off-by: Igor Vinokur <[email protected]>
What does this PR do?
Support git operations for repositories with self-signed SSL certs #14527
How it works:
For testing on my laptop I setup local git server which support cloning my https (e.g. https://gogs.io/) pretty easy for installation.
minikube:
After successfully deploy Eclipse on minikube need to execute next command:
kubectl create configmap che-git-self-signed-cert --from-file=ca.crt --from-literal=githost={host}:{port} -n=che
where:
minishift:
After deploy Eclipse Che on minishift
minishift dasfboard
ca.crt
: certificate contentgithost
: host and port for HTTPS connection on your git server (optional if not set it given certificate will be used for all HTTPS repositories).containers
sections add configuration like this:Now you can create and start new workspace.
On each container of your workspace will be mount special volume that contains file with your self-signed certificate and to the
gitconfig
section with information about git server host and path to the certificate. E.g.What issues does this PR fix or reference?
#14527
Release Notes
Docs PR
eclipse-che/che-docs#936