Skip to content

Commit 13291ae

Browse files
authored
Add changelog entries for 0.40.1, and 0.41.0 (#1625)
Signed-off-by: David Kwon <dakwon@redhat.com>
1 parent a6b7a01 commit 13291ae

1 file changed

Lines changed: 72 additions & 0 deletions

File tree

CHANGELOG.md

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

3+
# v0.41.0
4+
5+
## Features
6+
7+
### Mount automount resources only to specific DevWorkspaces [#1619](https://github.com/devfile/devworkspace-operator/pull/1619)
8+
9+
Two new annotations allow administrators to control which DevWorkspaces receive automounted ConfigMaps, Secrets, and PVCs by workspace name pattern:
10+
11+
- `controller.devfile.io/mount-to-devworkspace-include`: mount the resource only to workspaces whose names match the specified pattern
12+
- `controller.devfile.io/mount-to-devworkspace-exclude`: mount the resource to all workspaces except those whose names match the specified pattern
13+
14+
When either annotation is set, the DevWorkspace operator also watches the annotated resource and triggers reconciliation of the targeted workspaces when the resource changes.
15+
16+
See [docs/additional-configuration.md](docs/additional-configuration.adoc#automatically-mounting-volumes-configmaps-and-secrets) for more details.
17+
18+
### Prevent workspace restart when automount resources are created or modified [#1533](https://github.com/devfile/devworkspace-operator/pull/1533)
19+
20+
A new `controller.devfile.io/mount-on-start` annotation can be set on automounted ConfigMaps, Secrets, and PVCs. When this annotation is set to `"true"`, adding or modifying the resource will not immediately restart running workspaces. The resource will be mounted the next time the workspace starts.
21+
22+
```yaml
23+
apiVersion: v1
24+
kind: ConfigMap
25+
metadata:
26+
annotations:
27+
controller.devfile.io/mount-as: env
28+
controller.devfile.io/mount-on-start: "true"
29+
labels:
30+
controller.devfile.io/mount-to-devworkspace: "true"
31+
controller.devfile.io/watch-configmap: "true"
32+
name: my-config
33+
```
34+
35+
See [docs/additional-configuration.md](docs/additional-configuration.adoc#automatically-mounting-volumes-configmaps-and-secrets) for more details.
36+
37+
### Mount PVC subdirectory into workspace using subPath [#1595](https://github.com/devfile/devworkspace-operator/pull/1595)
38+
39+
Automounted PVCs now support mounting a subdirectory within the PVC using the `subPath` field. This is configured by providing a JSON array as the value of the `controller.devfile.io/mount-path` annotation, where each entry specifies both a `path` (mount point in the container) and a `subPath` (subdirectory within the PVC):
40+
41+
```yaml
42+
apiVersion: v1
43+
kind: PersistentVolumeClaim
44+
metadata:
45+
annotations:
46+
controller.devfile.io/mount-path: '[{"path":"/var/logs","subPath":"data/logs"},{"path":"/etc/config","subPath":"data/config"}]'
47+
labels:
48+
controller.devfile.io/mount-to-devworkspace: "true"
49+
name: my-pvc
50+
```
51+
52+
## Bug Fixes & Improvements
53+
54+
- Conditionally copy backup registry auth secret to workspace namespace only when configured; user-provided secrets take precedence [#1618](https://github.com/devfile/devworkspace-operator/pull/1618)
55+
56+
- Update Go to 1.25.9 [#1617](https://github.com/devfile/devworkspace-operator/pull/1617)
57+
58+
# v0.40.1
59+
60+
## Features
61+
62+
### Project clone retries [#1613](https://github.com/devfile/devworkspace-operator/pull/1613)
63+
64+
The project clone init container now retries failed clone operations up to 3 times (4 total attempts) using exponential backoff. This improves reliability when transient network issues cause clone failures.
65+
66+
## Bug Fixes & Improvements
67+
68+
- Fix restore failing when backup auth secret name did not match the copied secret name [#1614](https://github.com/devfile/devworkspace-operator/pull/1614)
69+
70+
- Update Go to 1.25.8 [#1611](https://github.com/devfile/devworkspace-operator/pull/1611)
71+
72+
- Change project-backup image base from ubi10 to ubi9 to align with downstream image [#1610](https://github.com/devfile/devworkspace-operator/pull/1610)
73+
74+
375
# v0.40.0
476

577
## Features

0 commit comments

Comments
 (0)