Skip to content

Commit c65eae3

Browse files
committed
Merge branch 'main' into fix-macos-arm64-issues
Signed-off-by: Oleksii Kurinnyi <[email protected]> # Conflicts: # build/Dockerfile # deploy/bundle/manifests/devworkspace-operator.clusterserviceversion.yaml # deploy/templates/components/csv/clusterserviceversion.yaml
2 parents 90646bf + ea05e2b commit c65eae3

File tree

10 files changed

+46
-12
lines changed

10 files changed

+46
-12
lines changed

.github/workflows/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Set up Go 1.x
1515
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
1616
with:
17-
go-version: 1.23.6
17+
go-version: 1.24.6
1818
-
1919
name: Set up Python 3.11
2020
uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Set up Go 1.x
1616
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
1717
with:
18-
go-version: 1.23.6
18+
go-version: 1.24.6
1919
-
2020
name: Set up Python 3.11
2121
uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0

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.37.0
4+
## Features
5+
### Add hostUsers field to DWOC [#1493](https://github.com/devfile/devworkspace-operator/issues/1493)
6+
The DevWorkspace pod's `spec.hostUsers` field can now be set in the DevWorkspaceOperatorConfig:
7+
```
8+
apiVersion: controller.devfile.io/v1alpha1
9+
kind: DevWorkspaceOperatorConfig
10+
metadata:
11+
name: devworkspace-operator-config
12+
config:
13+
workspace:
14+
hostUsers: false
15+
```
16+
Setting the `spec.hostUsers` field to `false` is useful when leveraging user-namespaces for pods.
17+
18+
**Note:** 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.
19+
20+
### Provide timeout for postStart events [#1496](https://github.com/devfile/devworkspace-operator/issues/1496)
21+
A timeout can now be configured for postStart events to prevent workspace pods from being stuck in a terminating state:
22+
```
23+
apiVersion: controller.devfile.io/v1alpha1
24+
kind: DevWorkspaceOperatorConfig
25+
metadata:
26+
name: devworkspace-operator-config
27+
config:
28+
workspace:
29+
postStartTimeout: 30
30+
```
31+
By default, this timeout is disabled.
32+
33+
## Bug Fixes & Improvements
34+
- Add E2E test to verify that DevWorkspace contents are persisted during restarts [#1467](https://github.com/devfile/devworkspace-operator/issues/1467)
35+
- make run fails on m4 MacBook [#1494](https://github.com/devfile/devworkspace-operator/issues/1494)
36+
- Upgrade Go toolchain to 1.24.6 [#1509](https://github.com/devfile/devworkspace-operator/issues/1509)
37+
338
# v0.36.0
439
## Bug Fixes & Improvements
540
### Remove `kube-rbac-proxy` from the controller Deployment [#1437](https://github.com/devfile/devworkspace-operator/pull/1437)

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9/go-toolset
1717
# Use BUILDPLATFORM to ensure the builder always runs natively on the host machine
18-
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.24.4-1753853351 AS builder
18+
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.24.6-1758501173 AS builder
1919

2020
# Accept TARGETARCH and TARGETPLATFORM, which are automatically passed by the builder
2121
ARG TARGETARCH

build/bin/user_setup

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ mkdir -p ${HOME}
66
chown ${USER_UID}:0 ${HOME}
77
chmod ug+rwx ${HOME}
88

9-
# runtime user will need to be able to self-insert in /etc/passwd
10-
chmod g+rw /etc/passwd
9+
chmod g-w /etc/passwd
1110

1211
# no need for this script to remain in the image after running
1312
rm $0

deploy/bundle/manifests/devworkspace-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deploy/templates/components/csv/clusterserviceversion.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
operators.operatorframework.io/builder: operator-sdk-v1.7.1+git
88
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
99
operators.operatorframework.io/internal-objects: '["devworkspaceroutings.controller.devfile.io"]'
10-
name: devworkspace-operator.v0.37.0-dev
10+
name: devworkspace-operator.v0.38.0-dev
1111
labels:
1212
operatorframework.io/arch.amd64: supported
1313
operatorframework.io/arch.arm64: supported
@@ -98,7 +98,7 @@ spec:
9898
provider:
9999
name: Devfile
100100
url: https://devfile.io
101-
version: 0.37.0-dev
101+
version: 0.38.0-dev
102102
relatedImages:
103103
- image: quay.io/devfile/devworkspace-controller:next
104104
name: devworkspace_webhook_server

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/devfile/devworkspace-operator
22

33
go 1.24.0
44

5-
toolchain go1.24.4
5+
toolchain go1.24.6
66

77
require (
88
github.com/devfile/api/v2 v2.3.1-alpha.0.20250521155908-5c3d7b99d252

project-clone/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Build the manager binary
1717
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/ubi9/go-toolset
18-
FROM registry.access.redhat.com/ubi9/go-toolset:1.24.4-1753853351 as builder
18+
FROM registry.access.redhat.com/ubi9/go-toolset:1.24.6-1758501173 as builder
1919
ARG TARGETARCH
2020
ARG TARGETOS
2121
ENV GOPATH=/go/

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package version
1717

1818
var (
1919
// Version is the operator version
20-
Version = "v0.37.0-dev"
20+
Version = "v0.38.0-dev"
2121
// Commit is the commit hash corresponding to the code that was built. Can be suffixed with `-dirty`
2222
Commit string = "unknown"
2323
// BuildTime is the time of build of the binary

0 commit comments

Comments
 (0)