= Replication of Secrets, ConfigMaps, and PersistentVolumesClaims in all user namespaces
With this release, the administrator can configure Secrets, ConfigMaps, and PersistentVolumesClaims that will be replicated in the namespaces of all users. You can therefore share certificates, secrets, and configuration files across all the users.
For example, creating the following ConfigMap makes link:https://maven.apache.org/settings.html[Maven]`settings.xml` file available in the Container Development Environment (CDE) of all the users:
= Replication of Secrets, ConfigMaps, and PersistentVolumesClaims in all user namespaces
With this release, the administrator can configure Secrets, ConfigMaps, and PersistentVolumesClaims that will be replicated in the namespaces of all users. You can therefore share certificates, secrets, and configuration files across all the users.
For example, creating the following ConfigMap makes link: https://maven.apache.org/settings.html [Maven]`settings.xml` file available in the Container Development Environment (CDE) of all the users:
[source, code]
----
kind: ConfigMap
apiVersion: v1
metadata:
name: user-settings-xml
namespace: {prod-namespace}
labels:
app.kubernetes.io/part-of: che.eclipse.org
app.kubernetes.io/component: workspaces-config
annotations:
controller.devfile.io/mount-as: subpath
controller.devfile.io/mount-path: /home/user/.m2
data:
settings.xml: |
<settings xmlns=" http://maven.apache.org/SETTINGS/1.0.0 " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xsi:schemaLocation=" http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd ">
<localRepository>/home/user/.m2/repository</localRepository>
<interactiveMode>true</interactiveMode>
<offline>false</offline>
</settings>
----
Find more about the procedure in the link: https://access.redhat.com/documentation/en-us/red_hat_openshift_dev_spaces/3.12/html/administration_guide/configuring-devspaces#configuring-a-user-namespace [official documentation].