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

Apply git self-signed SSL certs #142

Merged
merged 1 commit into from
Dec 26, 2019
Merged

Apply git self-signed SSL certs #142

merged 1 commit into from
Dec 26, 2019

Conversation

vinokurig
Copy link
Contributor

@vinokurig vinokurig commented Dec 21, 2019

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 <ivinokur@redhat.com>
@tolusha
Copy link
Contributor

tolusha commented Dec 23, 2019

@vinokurig
Should be tested against this doc eclipse-che/che-docs#1001 ?

@vinokurig
Copy link
Contributor Author

@tolusha
Yes

ConfigMapKeyRef: &corev1.ConfigMapKeySelector{
Key: "githost",
LocalObjectReference: corev1.LocalObjectReference{
Name: "che-git-self-signed-cert",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is the same name as above.
Is it correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it uses the same config-map, but another key

Copy link
Contributor

@tolusha tolusha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested!

@vinokurig vinokurig merged commit c673710 into master Dec 26, 2019
@vinokurig vinokurig deleted the che-15285 branch December 26, 2019 08:23
nickboldt pushed a commit to nickboldt/che-operator that referenced this pull request Jan 31, 2020
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 <ivinokur@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[che-operator] - enable support git clone for repositories with self-signed SSL certs
2 participants