From 3e64c28fc319c78cb7263ab9a74a3653a452859d Mon Sep 17 00:00:00 2001 From: Mykola Morhun Date: Tue, 24 Nov 2020 10:05:51 +0200 Subject: [PATCH] Fix comment Signed-off-by: Mykola Morhun --- .../provision/OpenshiftTrustedCAProvisioner.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/infrastructures/openshift/src/main/java/org/eclipse/che/workspace/infrastructure/openshift/provision/OpenshiftTrustedCAProvisioner.java b/infrastructures/openshift/src/main/java/org/eclipse/che/workspace/infrastructure/openshift/provision/OpenshiftTrustedCAProvisioner.java index 1bd44f72720d..f769a1fa6b39 100644 --- a/infrastructures/openshift/src/main/java/org/eclipse/che/workspace/infrastructure/openshift/provision/OpenshiftTrustedCAProvisioner.java +++ b/infrastructures/openshift/src/main/java/org/eclipse/che/workspace/infrastructure/openshift/provision/OpenshiftTrustedCAProvisioner.java @@ -22,11 +22,11 @@ import org.eclipse.che.workspace.infrastructure.openshift.project.OpenShiftProjectFactory; /** - * Checks if config maps with CA bundles is configured by specific property. If they are, then - * creates single config map for all ca bundles in workspace namespace and mounts it into pods. If - * ca-bundle auto-inject label is set, it allows Openshift 4+ to auto-inject cluster ca-bundle into - * it. (see - * https://docs.openshift.com/container-platform/4.3/networking/configuring-a-custom-pki.html#certificate-injection-using-operators_configuring-a-custom-pki) + * This class overrides CA bundle config map labels (from + * che.infra.openshift.trusted_ca_bundles_config_map_labels property) to be able to include + * OpenShift 4+ specific label config.openshift.io/inject-trusted-cabundle=true that makes OpenShift + * inject cluster CA bundle into resulting config map. For more details see + * https://docs.openshift.com/container-platform/4.3/networking/configuring-a-custom-pki.html#certificate-injection-using-operators_configuring-a-custom-pki */ @Singleton public class OpenshiftTrustedCAProvisioner extends KubernetesTrustedCAProvisioner {