diff --git a/api/v2/checluster_types.go b/api/v2/checluster_types.go index 3f318193f..61313d33d 100644 --- a/api/v2/checluster_types.go +++ b/api/v2/checluster_types.go @@ -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 { diff --git a/api/v2/zz_generated.deepcopy.go b/api/v2/zz_generated.deepcopy.go index eda72b2cb..3eabf49a2 100644 --- a/api/v2/zz_generated.deepcopy.go +++ b/api/v2/zz_generated.deepcopy.go @@ -178,6 +178,11 @@ func (in *CheClusterDevEnvironments) DeepCopyInto(out *CheClusterDevEnvironments (*in).DeepCopyInto(*out) } in.Storage.DeepCopyInto(&out.Storage) + if in.PersistUserHome != nil { + in, out := &in.PersistUserHome, &out.PersistUserHome + *out = new(PersistentHomeConfig) + (*in).DeepCopyInto(*out) + } if in.DefaultPlugins != nil { in, out := &in.DefaultPlugins, &out.DefaultPlugins *out = make([]WorkspaceDefaultPlugins, len(*in)) @@ -757,6 +762,26 @@ func (in *PVC) DeepCopy() *PVC { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PersistentHomeConfig) DeepCopyInto(out *PersistentHomeConfig) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentHomeConfig. +func (in *PersistentHomeConfig) DeepCopy() *PersistentHomeConfig { + if in == nil { + return nil + } + out := new(PersistentHomeConfig) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PluginRegistry) DeepCopyInto(out *PluginRegistry) { *out = *in diff --git a/bundle/next/eclipse-che/manifests/che-operator.clusterserviceversion.yaml b/bundle/next/eclipse-che/manifests/che-operator.clusterserviceversion.yaml index 60346eff1..db04e7306 100644 --- a/bundle/next/eclipse-che/manifests/che-operator.clusterserviceversion.yaml +++ b/bundle/next/eclipse-che/manifests/che-operator.clusterserviceversion.yaml @@ -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: {} @@ -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 diff --git a/bundle/next/eclipse-che/manifests/org.eclipse.che_checlusters.yaml b/bundle/next/eclipse-che/manifests/org.eclipse.che_checlusters.yaml index ecde1055a..ddbf8f5f1 100644 --- a/bundle/next/eclipse-che/manifests/org.eclipse.che_checlusters.yaml +++ b/bundle/next/eclipse-che/manifests/org.eclipse.che_checlusters.yaml @@ -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. diff --git a/config/crd/bases/org.eclipse.che_checlusters.yaml b/config/crd/bases/org.eclipse.che_checlusters.yaml index 2d8f923f0..c938e2524 100644 --- a/config/crd/bases/org.eclipse.che_checlusters.yaml +++ b/config/crd/bases/org.eclipse.che_checlusters.yaml @@ -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. diff --git a/deploy/deployment/kubernetes/combined.yaml b/deploy/deployment/kubernetes/combined.yaml index bc722e7a3..40486e30f 100644 --- a/deploy/deployment/kubernetes/combined.yaml +++ b/deploy/deployment/kubernetes/combined.yaml @@ -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. diff --git a/deploy/deployment/kubernetes/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml b/deploy/deployment/kubernetes/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml index 22033546a..a5c33846d 100644 --- a/deploy/deployment/kubernetes/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml +++ b/deploy/deployment/kubernetes/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml @@ -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. diff --git a/deploy/deployment/openshift/combined.yaml b/deploy/deployment/openshift/combined.yaml index 6e72e6061..be00e9f23 100644 --- a/deploy/deployment/openshift/combined.yaml +++ b/deploy/deployment/openshift/combined.yaml @@ -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. diff --git a/deploy/deployment/openshift/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml b/deploy/deployment/openshift/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml index f5119c1a0..025e79b37 100644 --- a/deploy/deployment/openshift/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml +++ b/deploy/deployment/openshift/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml @@ -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. diff --git a/helmcharts/next/crds/checlusters.org.eclipse.che.CustomResourceDefinition.yaml b/helmcharts/next/crds/checlusters.org.eclipse.che.CustomResourceDefinition.yaml index 22033546a..a5c33846d 100644 --- a/helmcharts/next/crds/checlusters.org.eclipse.che.CustomResourceDefinition.yaml +++ b/helmcharts/next/crds/checlusters.org.eclipse.che.CustomResourceDefinition.yaml @@ -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.