Disable the workspace CA bundle mount
By default, the Operator creates a ca-certs-merged ConfigMap in every user namespace. This ConfigMap contains the full Certificate Authorities (CAs) bundle. With a large number of Transport Layer Security (TLS) certificates in the cluster, these ConfigMaps consume significant etcd storage. Disable the full CA bundle mount to reduce etcd pressure.
-
An active
kubectlsession with administrative permissions to the destination Kubernetes cluster. See Overview of kubectl.
-
Configure the
CheClusterCustom Resource to disable the workspace CA bundle mount:$ kubectl edit checluster/eclipse-che -n eclipse-chespec: devEnvironments: trustedCerts: disableWorkspaceCaBundleMount: trueWith this configuration, Che no longer mounts the full CA bundle under
/etc/pki/ca-trust/extracted/pem. Only custom certificates are mounted under/public-certs.
-
Verify that new workspaces no longer mount the full CA bundle:
$ kubectl get configmap ca-certs-merged -n <user-namespace>The ConfigMap should not exist in namespaces for newly created workspaces.