Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-5955

Replication of Secrets, ConfigMaps, and PersistentVolumesClaims in all user namespaces

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Release Notes
    • Hide
      = 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].
      Show
      = 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].
    • Enhancement
    • Done

    Attachments

      Activity

        People

          jvrbkova@redhat.com Jana Vrbkova
          jvrbkova@redhat.com Jana Vrbkova
          Mykhailo Kuznietsov Mykhailo Kuznietsov
          Jana Vrbkova Jana Vrbkova
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: