Skip to content

Commit

Permalink
chore: update dev resources for persistUserHome Che Cluster CR field
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
  • Loading branch information
AObuchow authored and ibuziuk committed Jul 27, 2023
1 parent 93691bb commit cbf068f
Show file tree
Hide file tree
Showing 10 changed files with 109 additions and 7 deletions.
10 changes: 5 additions & 5 deletions api/v2/checluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,11 @@ type WorkspaceStorage struct {
}

type PersistentHomeConfig struct {
// Determines whether the user home directory in workspaces should persist between
// workspace shutdown and startup.
// Must be used with the 'per-user' or 'per-workspace' PVC strategy in order to take effect.
// Disabled by default.
Enabled *bool `json:"enabled,omitempty"`
// Determines whether the user home directory in workspaces should persist between
// workspace shutdown and startup.
// Must be used with the 'per-user' or 'per-workspace' PVC strategy in order to take effect.
// Disabled by default.
Enabled *bool `json:"enabled,omitempty"`
}

type WorkspaceDefaultPlugins struct {
Expand Down
25 changes: 25 additions & 0 deletions api/v2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ metadata:
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/eclipse-che/che-operator
support: Eclipse Foundation
name: eclipse-che.v7.71.0-804.next
name: eclipse-che.v7.72.0-805.next
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -1231,7 +1231,7 @@ spec:
minKubeVersion: 1.19.0
provider:
name: Eclipse Foundation
version: 7.71.0-804.next
version: 7.72.0-805.next
webhookdefinitions:
- admissionReviewVersions:
- v1
Expand Down
11 changes: 11 additions & 0 deletions bundle/next/eclipse-che/manifests/org.eclipse.che_checlusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7012,6 +7012,17 @@ spec:
description: The node selector limits the nodes that can run
the workspace pods.
type: object
persistUserHome:
description: PersistUserHome defines configuration options for
persisting the user home directory in workspaces.
properties:
enabled:
description: Determines whether the user home directory
in workspaces should persist between workspace shutdown
and startup. Must be used with the 'per-user' or 'per-workspace'
PVC strategy in order to take effect. Disabled by default.
type: boolean
type: object
podSchedulerName:
description: Pod scheduler for the workspace pods. If not specified,
the pod scheduler is set to the default scheduler on the cluster.
Expand Down
11 changes: 11 additions & 0 deletions config/crd/bases/org.eclipse.che_checlusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6815,6 +6815,17 @@ spec:
description: The node selector limits the nodes that can run the
workspace pods.
type: object
persistUserHome:
description: PersistUserHome defines configuration options for
persisting the user home directory in workspaces.
properties:
enabled:
description: Determines whether the user home directory in
workspaces should persist between workspace shutdown and
startup. Must be used with the 'per-user' or 'per-workspace'
PVC strategy in order to take effect. Disabled by default.
type: boolean
type: object
podSchedulerName:
description: Pod scheduler for the workspace pods. If not specified,
the pod scheduler is set to the default scheduler on the cluster.
Expand Down
11 changes: 11 additions & 0 deletions deploy/deployment/kubernetes/combined.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6834,6 +6834,17 @@ spec:
description: The node selector limits the nodes that can run the
workspace pods.
type: object
persistUserHome:
description: PersistUserHome defines configuration options for
persisting the user home directory in workspaces.
properties:
enabled:
description: Determines whether the user home directory in
workspaces should persist between workspace shutdown and
startup. Must be used with the 'per-user' or 'per-workspace'
PVC strategy in order to take effect. Disabled by default.
type: boolean
type: object
podSchedulerName:
description: Pod scheduler for the workspace pods. If not specified,
the pod scheduler is set to the default scheduler on the cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6829,6 +6829,17 @@ spec:
description: The node selector limits the nodes that can run the
workspace pods.
type: object
persistUserHome:
description: PersistUserHome defines configuration options for
persisting the user home directory in workspaces.
properties:
enabled:
description: Determines whether the user home directory in
workspaces should persist between workspace shutdown and
startup. Must be used with the 'per-user' or 'per-workspace'
PVC strategy in order to take effect. Disabled by default.
type: boolean
type: object
podSchedulerName:
description: Pod scheduler for the workspace pods. If not specified,
the pod scheduler is set to the default scheduler on the cluster.
Expand Down
11 changes: 11 additions & 0 deletions deploy/deployment/openshift/combined.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6834,6 +6834,17 @@ spec:
description: The node selector limits the nodes that can run the
workspace pods.
type: object
persistUserHome:
description: PersistUserHome defines configuration options for
persisting the user home directory in workspaces.
properties:
enabled:
description: Determines whether the user home directory in
workspaces should persist between workspace shutdown and
startup. Must be used with the 'per-user' or 'per-workspace'
PVC strategy in order to take effect. Disabled by default.
type: boolean
type: object
podSchedulerName:
description: Pod scheduler for the workspace pods. If not specified,
the pod scheduler is set to the default scheduler on the cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6829,6 +6829,17 @@ spec:
description: The node selector limits the nodes that can run the
workspace pods.
type: object
persistUserHome:
description: PersistUserHome defines configuration options for
persisting the user home directory in workspaces.
properties:
enabled:
description: Determines whether the user home directory in
workspaces should persist between workspace shutdown and
startup. Must be used with the 'per-user' or 'per-workspace'
PVC strategy in order to take effect. Disabled by default.
type: boolean
type: object
podSchedulerName:
description: Pod scheduler for the workspace pods. If not specified,
the pod scheduler is set to the default scheduler on the cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6829,6 +6829,17 @@ spec:
description: The node selector limits the nodes that can run the
workspace pods.
type: object
persistUserHome:
description: PersistUserHome defines configuration options for
persisting the user home directory in workspaces.
properties:
enabled:
description: Determines whether the user home directory in
workspaces should persist between workspace shutdown and
startup. Must be used with the 'per-user' or 'per-workspace'
PVC strategy in order to take effect. Disabled by default.
type: boolean
type: object
podSchedulerName:
description: Pod scheduler for the workspace pods. If not specified,
the pod scheduler is set to the default scheduler on the cluster.
Expand Down

0 comments on commit cbf068f

Please sign in to comment.