diff --git a/cluster-configs/patch-checluster-default-components.sh b/cluster-configs/patch-checluster-default-components.sh index 1d4bd75..8f5e3f4 100644 --- a/cluster-configs/patch-checluster-default-components.sh +++ b/cluster-configs/patch-checluster-default-components.sh @@ -1 +1 @@ -oc patch checluster/devspaces --type='merge' --namespace openshift-devspaces -p '{"spec":{"devEnvironments":{"defaultComponents":[{"name":"dev-tools","container":{"image":"quay.io/cgruver0/che/dev-tools:latest","memoryLimit":"6Gi","mountSources":true}}]}}}' +oc patch checluster/devspaces --type='merge' --namespace openshift-devspaces -p '{"spec":{"devEnvironments":{"defaultComponents":[{"attributes": {"container-overrides": {"securityContext": {"procMount": "Unmasked"}},"pod-overrides": {"metadata": {"annotations": {"io.kubernetes.cri-o.Devices": "/dev/fuse,/dev/net/tun"}},"spec": {"hostUsers": false}}},"container": {"image": "quay.io/cgruver0/che/dev-tools:latest","memoryLimit": "6Gi","mountSources": true,"sourceMapping": "/projects"},"name": "dev-tools"}]}}}'