eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.99k stars 1.19k forks source link

Allow configuring user namespaces with OpenShift template #23176

Closed ibuziuk closed 3 weeks ago

ibuziuk commented 1 month ago

Is your task related to a problem? Please describe

Currently, as part of the users' namespace configuration, it is possible to automate the replication of the ConfigMaps, Secrets, and PersistentVolumeClaims - https://eclipse.dev/che/docs/stable/administration-guide/configuring-a-user-namespace/

Need to enhance the procedure and allow doing the same with the OpenShift Templates - https://docs.openshift.com/container-platform/4.16/openshift_images/using-templates.html#templates-writing_using-templates

Describe the solution you'd like

It should be possible to configure user namespaces with OpenShift Templates and document it as part of https://eclipse.dev/che/docs/stable/administration-guide/configuring-a-user-namespace/

Under the hood, the operator will oc process -f template.yaml | oc apply -f - in every user namespace allowing to automate creation of all the objects defined in the OpenShift Template

Describe alternatives you've considered

N/A

Additional context

No response