Skip to content

Commit 60ba9bc

Browse files
committed
chore: Fixes tests and defaults
Signed-off-by: Anatolii Bazko <[email protected]>
1 parent c4e534c commit 60ba9bc

12 files changed

+33
-33
lines changed

apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ type WorkspaceConfig struct {
196196
// If not specified or "0", the timeout is disabled.
197197
// +kubebuilder:validation:Optional
198198
PostStartTimeout string `json:"postStartTimeout,omitempty"`
199-
// Use the host's user namespace.
200-
// Default to true.
201-
// If set to true or not present, the pod will be run in the host user namespace.
202-
// When set to false, a new userns is created for the pod.
199+
// Controls whether the Pod uses the host's user namespace.
200+
// If true (or omitted), the Pod runs in the host's user namespace.
201+
// If false, a new user namespace is created for the Pod.
202+
// This field is only effective if the UserNamespacesSupport feature is enabled on the cluster.
203203
// +kubebuilder:validation:Optional
204204
HostUsers *bool `json:"hostUsers,omitempty"`
205205
}

controllers/workspace/testdata/common-pvc-test-devworkspace.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ metadata:
55
controller.devfile.io/creator: ""
66
spec:
77
started: true
8-
hostUsers: true
98
routingClass: 'basic'
109
template:
1110
attributes:

controllers/workspace/testdata/test-devworkspace-duplicate-ports.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ metadata:
55
controller.devfile.io/creator: ""
66
spec:
77
started: true
8-
hostUsers: true
98
routingClass: 'basic'
109
template:
1110
attributes:

controllers/workspace/testdata/test-devworkspace-prestart.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ metadata:
55
controller.devfile.io/creator: ""
66
spec:
77
started: true
8-
hostUsers: true
98
template:
109
projects:
1110
- name: my-app

controllers/workspace/testdata/test-devworkspace.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ metadata:
55
controller.devfile.io/creator: ""
66
spec:
77
started: true
8-
hostUsers: true
98
routingClass: 'basic'
109
template:
1110
attributes:

deploy/bundle/manifests/controller.devfile.io_devworkspaceoperatorconfigs.yaml

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

deploy/deployment/kubernetes/combined.yaml

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

deploy/deployment/kubernetes/objects/devworkspaceoperatorconfigs.controller.devfile.io.CustomResourceDefinition.yaml

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

deploy/deployment/openshift/combined.yaml

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

deploy/deployment/openshift/objects/devworkspaceoperatorconfigs.controller.devfile.io.CustomResourceDefinition.yaml

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

0 commit comments

Comments
 (0)