-
Notifications
You must be signed in to change notification settings - Fork 69
Add changelog entries for 0.40.1, and 0.41.0 #1625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dkwon17
wants to merge
1
commit into
devfile:main
Choose a base branch
from
dkwon17:changelog
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+72
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,77 @@ | ||||||
| # DevWorkspace Operator Changelog | ||||||
|
|
||||||
| # v0.41.0 | ||||||
|
|
||||||
| ## Features | ||||||
|
|
||||||
| ### Mount automount resources only to specific DevWorkspaces [#1619](https://github.com/devfile/devworkspace-operator/pull/1619) | ||||||
|
|
||||||
| Two new annotations allow administrators to control which DevWorkspaces receive automounted ConfigMaps, Secrets, and PVCs by workspace name pattern: | ||||||
|
|
||||||
| - `controller.devfile.io/mount-to-devworkspace-include` — mount the resource only to workspaces whose names match the specified pattern | ||||||
| - `controller.devfile.io/mount-to-devworkspace-exclude` — mount the resource to all workspaces except those whose names match the specified pattern | ||||||
|
|
||||||
| When either annotation is set, the DevWorkspace operator also watches the annotated resource and triggers reconciliation of the targeted workspaces when the resource changes. | ||||||
|
|
||||||
| See [docs/additional-configuration.md](docs/additional-configuration.md#automatically-mounting-volumes-configmaps-and-secrets) for more details. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| ### Prevent workspace restart when automount resources are created or modified [#1533](https://github.com/devfile/devworkspace-operator/pull/1533) | ||||||
|
|
||||||
| 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. | ||||||
|
|
||||||
| ```yaml | ||||||
| apiVersion: v1 | ||||||
| kind: ConfigMap | ||||||
| metadata: | ||||||
| annotations: | ||||||
| controller.devfile.io/mount-as: env | ||||||
| controller.devfile.io/mount-on-start: "true" | ||||||
| labels: | ||||||
| controller.devfile.io/mount-to-devworkspace: "true" | ||||||
| controller.devfile.io/watch-configmap: "true" | ||||||
| name: my-config | ||||||
| ``` | ||||||
|
|
||||||
| See [docs/additional-configuration.md](docs/additional-configuration.md#automatically-mounting-volumes-configmaps-and-secrets) for more details. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| ### Mount PVC subdirectory into workspace using subPath [#1595](https://github.com/devfile/devworkspace-operator/pull/1595) | ||||||
|
|
||||||
| 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): | ||||||
|
|
||||||
| ```yaml | ||||||
| apiVersion: v1 | ||||||
| kind: PersistentVolumeClaim | ||||||
| metadata: | ||||||
| annotations: | ||||||
| controller.devfile.io/mount-path: '[{"path":"/var/logs","subPath":"data/logs"},{"path":"/etc/config","subPath":"data/config"}]' | ||||||
| labels: | ||||||
| controller.devfile.io/mount-to-devworkspace: "true" | ||||||
| name: my-pvc | ||||||
| ``` | ||||||
|
|
||||||
| ## Bug Fixes & Improvements | ||||||
|
|
||||||
| - 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) | ||||||
|
|
||||||
| - Update Go to 1.25.9 [#1617](https://github.com/devfile/devworkspace-operator/pull/1617) | ||||||
|
|
||||||
| # v0.40.1 | ||||||
|
|
||||||
| ## Features | ||||||
|
|
||||||
| ### Project clone retries [#1613](https://github.com/devfile/devworkspace-operator/pull/1613) | ||||||
|
|
||||||
| 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. | ||||||
|
|
||||||
| ## Bug Fixes & Improvements | ||||||
|
|
||||||
| - Fix restore failing when backup auth secret name did not match the copied secret name [#1614](https://github.com/devfile/devworkspace-operator/pull/1614) | ||||||
|
|
||||||
| - Update Go to 1.25.8 [#1611](https://github.com/devfile/devworkspace-operator/pull/1611) | ||||||
|
|
||||||
| - Change project-backup image base from ubi10 to ubi9 to align with downstream image [#1610](https://github.com/devfile/devworkspace-operator/pull/1610) | ||||||
|
|
||||||
|
|
||||||
| # v0.40.0 | ||||||
|
|
||||||
| ## Features | ||||||
|
|
||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor style nit: would it make sense to use : instead of — for the annotation descriptions here? I think it may align a bit better with the rest of the changelog formatting and read more naturally in release notes.