diff --git a/modules/administration-guide/partials/proc_configuring-che-to-work-with-external-PostgreSQL.adoc b/modules/administration-guide/partials/proc_configuring-che-to-work-with-external-PostgreSQL.adoc index bed1b1e451..89a0f64209 100644 --- a/modules/administration-guide/partials/proc_configuring-che-to-work-with-external-PostgreSQL.adoc +++ b/modules/administration-guide/partials/proc_configuring-che-to-work-with-external-PostgreSQL.adoc @@ -20,26 +20,44 @@ $ {orch-cli} create namespace {prod-namespace} + [subs="+quotes,attributes"] ---- -$ {orch-cli} create secret generic \ <1> ---from-literal=user= \ <2> ---from-literal=password= \ <3> +$ {orch-cli} create secret generic ____ \ <1> +--from-literal=user=____ \ <2> +--from-literal=password=____ \ <3> -n {prod-namespace} ---- <1> Secret name to store {prod-short} server database credentials <2> {prod-short} server database username <3> {prod-short} server database password +. Add the required labels to the {prod-short} server database credentials secret: ++ +[subs="+quotes,attributes"] +---- +$ {orch-cli} label secret ____ \ <1> + app.kubernetes.io/part-of=che.eclipse.org -n {prod-namespace} +---- +<1> Secret name to store {prod-short} server database credentials + . Create a secret to store {identity-provider} database credentials: + [subs="+quotes,attributes"] ---- -$ {orch-cli} create secret generic \ <1> ---from-literal=password= \ <2> +$ {orch-cli} create secret generic ____ \ <1> +--from-literal=password=____ \ <2> -n {prod-namespace} ---- <1> Secret name to store {identity-provider} database credentials <2> {identity-provider} database password +. Add the required labels to the {identity-provider} database credentials secret: ++ +[subs="+quotes,attributes"] +---- +$ {orch-cli} label secret ____ \ <1> +app.kubernetes.io/part-of=che.eclipse.org -n {prod-namespace} +---- +<1> Secret name to store {identity-provider} database credentials + . Deploy {prod} by executing the `{prod-cli}` command with applying a patch. For example: + [subs="+quotes,+attributes"] diff --git a/modules/installation-guide/partials/proc_configuring-che-hostname.adoc b/modules/installation-guide/partials/proc_configuring-che-hostname.adoc index 41014574e0..786373c2b3 100644 --- a/modules/installation-guide/partials/proc_configuring-che-hostname.adoc +++ b/modules/installation-guide/partials/proc_configuring-che-hostname.adoc @@ -29,15 +29,23 @@ $ {orch-cli} create {orch-namespace} {prod-namespace} + [subs="+quotes,attributes"] ---- -$ {orch-cli} create secret TLS $\{secret} \ <1> ---key $\{key_file} \ <2> ---cert $\{cert_file} \ <3> +$ {orch-cli} create secret TLS ____ \ <1> +--key ____ \ <2> +--cert ____ \ <3> -n {prod-namespace} ---- <1> The TLS secret name <2> A file with the private key <3> A file with the certificate +. Add the required labels to the secret: ++ +[subs="+quotes,attributes"] +---- +$ {orch-cli} label secret ____ \ <1> +app.kubernetes.io/part-of=che.eclipse.org -n {prod-namespace} +---- +<1> The TLS secret name . Set the following values in the Custom Resource: + diff --git a/modules/installation-guide/partials/proc_deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc b/modules/installation-guide/partials/proc_deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc index 50bc241ad4..1e4bf62e74 100644 --- a/modules/installation-guide/partials/proc_deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc +++ b/modules/installation-guide/partials/proc_deploying-che-with-support-for-git-repositories-with-self-signed-certificates.adoc @@ -30,6 +30,14 @@ $ {orch-cli} create configmap che-git-self-signed-cert \ * Certificate files are typically stored as Base64 ASCII files, such as. `.pem`, `.crt`, `.ca-bundle`. Also, they can be encoded as binary data, for example, `.cer`. All `Secrets` that hold certificate files should use the Base64 ASCII certificate rather than the binary data certificate. ==== +. Add the required labels to the ConfigMap: ++ +[subs="+quotes,attributes"] +---- +$ {orch-cli} label configmap che-git-self-signed-cert \ +app.kubernetes.io/part-of=che.eclipse.org -n {prod-namespace} +---- + . Configure {prod-short} to use self-signed certificates for git repositories: + Update the `gitSelfSignedCert` property. To do that, execute: