Skip to content

Commit

Permalink
chore: Ensure that githost contains URL but not just hostname (#2638)
Browse files Browse the repository at this point in the history
* chore: Ensure that  contains URL but not just hostname

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* add sample url to ignore list

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Update modules/administration-guide/pages/deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc

Co-authored-by: Ilya Buziuk <ibuziuk@redhat.com>

---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Ilya Buziuk <ibuziuk@redhat.com>
  • Loading branch information
tolusha and ibuziuk authored Aug 14, 2023
1 parent baf5855 commit b2a9256
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .htmltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ IgnoreURLs:
- https://che.eclipseprojects.io/
- https://app.vsaex.visualstudio.com/app/register/
- https://mattermost.eclipse.org/eclipse/channels/eclipse-che
- https://git.example.com:8443
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ You can configure {prod-short} to support operations on Git providers that use s
----
$ {orch-cli} create configmap che-git-self-signed-cert \
--from-file=ca.crt=__<path_to_certificate>__ \ <1>
--from-literal=githost=__<host:port>__ -n {prod-namespace} <2>
--from-literal=githost=__<git_server_url>__ -n {prod-namespace} <2>
----
<1> Path to the self-signed certificate.
<2> Optional parameter to specify the `https://` host and port of the HTTPS connection on the Git server. When omitted, the self-signed certificate is used for all repositories over HTTPS.
<2> Optional parameter to specify the Git server URL e.g. `https://git.example.com:8443`. When omitted, the self-signed certificate is used for all repositories over HTTPS.
+
[NOTE]
====
Expand Down

0 comments on commit b2a9256

Please sign in to comment.