From b2a9256bf70d946d1143d343027dbdd13de9a22f Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Mon, 14 Aug 2023 10:34:50 +0200 Subject: [PATCH] chore: Ensure that githost contains URL but not just hostname (#2638) * chore: Ensure that contains URL but not just hostname Signed-off-by: Anatolii Bazko * add sample url to ignore list Signed-off-by: Anatolii Bazko * Update modules/administration-guide/pages/deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc Co-authored-by: Ilya Buziuk --------- Signed-off-by: Anatolii Bazko Co-authored-by: Ilya Buziuk --- .htmltest.yml | 1 + ...rt-for-git-repositories-with-self-signed-certificates.adoc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.htmltest.yml b/.htmltest.yml index 41a9aa2f3c..270104c587 100644 --- a/.htmltest.yml +++ b/.htmltest.yml @@ -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 diff --git a/modules/administration-guide/pages/deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc b/modules/administration-guide/pages/deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc index 62bfd95c5e..a01862b6fa 100644 --- a/modules/administration-guide/pages/deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc +++ b/modules/administration-guide/pages/deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc @@ -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=____ \ <1> - --from-literal=githost=____ -n {prod-namespace} <2> + --from-literal=githost=____ -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] ====