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

Allow insecure git server #392

Merged

Conversation

noam-codefresh
Copy link
Collaborator

useful for on-prem git servers with a self-signed (or otherwise missing or invalid) certificate. add the --insecure-git-server flag to skip certificate verification.

@@ -2,7 +2,6 @@ package main

import (
"io/fs"
"io/ioutil"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

these are some unrelated lint warning i fixed - deprecation of io/ioutil

@noam-codefresh noam-codefresh force-pushed the allow-insecure-git-server branch 4 times, most recently from 2beeb73 to 3fb1b3c Compare November 17, 2022 20:28
Signed-off-by: Noam Gal <noam.gal@codefresh.io>
Signed-off-by: Noam Gal <noam.gal@codefresh.io>
copy insecure from cloneOpts to appCloneOpts

Signed-off-by: Noam Gal <noam.gal@codefresh.io>
Signed-off-by: Noam Gal <noam.gal@codefresh.io>
Signed-off-by: Noam Gal <noam.gal@codefresh.io>
@noam-codefresh noam-codefresh merged commit 5415ff1 into argoproj-labs:main Nov 18, 2022
@noam-codefresh noam-codefresh deleted the allow-insecure-git-server branch November 18, 2022 21:40
kim-codefresh pushed a commit that referenced this pull request Jan 10, 2023
* added support for --git-server-crt
* add certificate to argocd cm

Signed-off-by: Noam Gal <noam.gal@codefresh.io>
Signed-off-by: kim-codefresh <kim.aharfi@codefresh.io>
kim-codefresh pushed a commit that referenced this pull request Jan 10, 2023
* added support for --git-server-crt
* add certificate to argocd cm

Signed-off-by: Noam Gal <noam.gal@codefresh.io>
Signed-off-by: kim-codefresh <kim.aharfi@codefresh.io>
kim-codefresh pushed a commit that referenced this pull request Jan 10, 2023
* added support for --git-server-crt
* add certificate to argocd cm

Signed-off-by: Noam Gal <noam.gal@codefresh.io>
Signed-off-by: kim-codefresh <kim.aharfi@codefresh.io>
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.

None yet

3 participants