Hide
= DevWorkspace Operator 0.37.0 released
This release includes the following key updates.
== Add hostUsers field to the DevWorkspaceOperatorConfig
The DevWorkspace pod's `spec.hostUsers` field can now be set in the `DevWorkspaceOperatorConfig`:
```
apiVersion: controller.devfile.io/v1alpha1
kind: DevWorkspaceOperatorConfig
metadata:
name: devworkspace-operator-config
namespace: openshift-operators
config:
workspace:
hostUsers: false
```
Setting the `spec.hostUsers` field to `false` is useful when leveraging user-namespaces for pods.
This field is only respected when the UserNamespacesSupport feature is enabled in the cluster. If the feature is disabled, setting `hostUsers: false` may lead to an endless workspace start loop.
== Provide timeout for postStart events
A timeout can now be configured for postStart events to prevent workspace pods from being stuck in a terminating state:
```
apiVersion: controller.devfile.io/v1alpha1
kind: DevWorkspaceOperatorConfig
metadata:
name: devworkspace-operator-config
namespace: openshift-operators
config:
workspace:
postStartTimeout: 30s
```
By default, this timeout is disabled.
Show
= DevWorkspace Operator 0.37.0 released
This release includes the following key updates.
== Add hostUsers field to the DevWorkspaceOperatorConfig
The DevWorkspace pod's `spec.hostUsers` field can now be set in the `DevWorkspaceOperatorConfig`:
```
apiVersion: controller.devfile.io/v1alpha1
kind: DevWorkspaceOperatorConfig
metadata:
name: devworkspace-operator-config
namespace: openshift-operators
config:
workspace:
hostUsers: false
```
Setting the `spec.hostUsers` field to `false` is useful when leveraging user-namespaces for pods.
This field is only respected when the UserNamespacesSupport feature is enabled in the cluster. If the feature is disabled, setting `hostUsers: false` may lead to an endless workspace start loop.
== Provide timeout for postStart events
A timeout can now be configured for postStart events to prevent workspace pods from being stuck in a terminating state:
```
apiVersion: controller.devfile.io/v1alpha1
kind: DevWorkspaceOperatorConfig
metadata:
name: devworkspace-operator-config
namespace: openshift-operators
config:
workspace:
postStartTimeout: 30s
```
By default, this timeout is disabled.