Skip to content

Commit 6807a49

Browse files
Create DWO 0.42.0 changelog (#1666)
Signed-off-by: David Kwon <dakwon@redhat.com> Co-authored-by: Rohan Kumar <rohan.kumar.kanojia@gmail.com>
1 parent 4ea3124 commit 6807a49

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# DevWorkspace Operator Changelog
22

3+
# v0.42.0
4+
5+
## Features
6+
7+
### Configurable field-level restrictions for container and pod overrides [#1653](https://github.com/devfile/devworkspace-operator/pull/1653)
8+
9+
Cluster administrators can now define deny rules in `DevWorkspaceOperatorConfig` to block specific fields or field values from being set via the `container-overrides` and `pod-overrides` DevWorkspace attributes. Restrictions are specified using the new `config.overrides.restrictedContainerOverrideFields` and `config.overrides.restrictedPodOverrideFields` fields.
10+
11+
On Kubernetes, a set of security-sensitive fields is denied out of the box, including privileged containers, running as root, host networking, and `hostPath` volumes—matching the restrictions that OpenShift enforces natively via SCCs. These defaults can be adjusted from the global `DevWorkspaceOperatorConfig` object.
12+
13+
```yaml
14+
apiVersion: controller.devfile.io/v1alpha1
15+
kind: DevWorkspaceOperatorConfig
16+
metadata:
17+
name: devworkspace-operator-config
18+
namespace: $OPERATOR_INSTALL_NAMESPACE
19+
config:
20+
overrides:
21+
restrictedContainerOverrideFields:
22+
- securityContext.privileged
23+
- securityContext.runAsUser
24+
restrictedPodOverrideFields:
25+
- hostNetwork
26+
```
27+
28+
See [docs/dwo-configuration.md](docs/dwo-configuration.md#restricting-override-fields) for configuration details.
29+
30+
## Bug Fixes & Improvements
31+
32+
- Fix OpenShift registry image-puller RoleBinding accumulating deleted workspace ServiceAccounts, causing etcd rejections in high-churn namespaces [#1640](https://github.com/devfile/devworkspace-operator/issues/1640)
33+
- Fix project cloning failing when a nested `clonePath` is used and intermediate parent directories do not exist [#1652](https://github.com/devfile/devworkspace-operator/pull/1652)
34+
- Apply workspace `podSecurityContext` to PVC cleanup Job pods to match workspace deployment behavior [#1638](https://github.com/devfile/devworkspace-operator/pull/1638)
35+
- Increase default `init-persistent-home` container memory limit from 128Mi to 256Mi and request from 64Mi to 128Mi to prevent OOM failures with large developer images [#1644](https://github.com/devfile/devworkspace-operator/pull/1644)
36+
- Mount an `emptyDir` home volume for ephemeral workspaces when a custom `init-persistent-home` init container is configured and `persistUserHome` is enabled [#1649](https://github.com/devfile/devworkspace-operator/pull/1649)
37+
338
# v0.41.0
439

540
## Features

0 commit comments

Comments
 (0)