Skip to content
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

feat: Adding RunningLimit property to the CheCluster #1338

Merged
merged 1 commit into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions api/v1/checluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,9 @@ type CheClusterSpecDevWorkspace struct {
// This includes the image tag. Omit it or leave it empty to use the default container image provided by the Operator.
// +optional
ControllerImage string `json:"controllerImage,omitempty"`
// Maximum number of the running workspaces per user.
// +optional
RunningLimit string `json:"runningLimit,omitempty"`
}

// +k8s:openapi-gen=true
Expand Down
1 change: 1 addition & 0 deletions api/v1/zz_generated.deepcopy.go

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

1 change: 1 addition & 0 deletions api/v2alpha1/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 @@ -75,7 +75,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-preview-openshift.v7.45.0-434.next
name: eclipse-che-preview-openshift.v7.45.0-435.next
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -972,7 +972,7 @@ spec:
- name: RELATED_IMAGE_devfile_registry
value: quay.io/eclipse/che-devfile-registry:next
- name: RELATED_IMAGE_pvc_jobs
value: registry.access.redhat.com/ubi8-minimal:8.5-230.1645809059
value: registry.access.redhat.com/ubi8-minimal:8.5-240
- name: RELATED_IMAGE_postgres
value: quay.io/eclipse/che--centos--postgresql-96-centos7:9.6-b681d78125361519180a6ac05242c296f8906c11eab7e207b5ca9a89b6344392
- name: RELATED_IMAGE_postgres_13_3
Expand Down Expand Up @@ -1286,4 +1286,4 @@ spec:
maturity: stable
provider:
name: Eclipse Foundation
version: 7.45.0-434.next
version: 7.45.0-435.next
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,9 @@ spec:
installed. Fails when a non-matching version of the Operator
is already installed.
type: boolean
runningLimit:
description: Maximum number of the running workspaces per user.
type: string
required:
- enable
type: object
Expand Down
3 changes: 3 additions & 0 deletions config/crd/bases/org_v1_che_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,9 @@ spec:
installed. Fails when a non-matching version of the Operator
is already installed.
type: boolean
runningLimit:
description: Maximum number of the running workspaces per user.
type: string
required:
- enable
type: object
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
- name: RELATED_IMAGE_che_tls_secrets_creation_job
value: quay.io/eclipse/che-tls-secret-creator:alpine-01a4c34
- name: RELATED_IMAGE_pvc_jobs
value: registry.access.redhat.com/ubi8-minimal:8.5-230.1645809059
value: registry.access.redhat.com/ubi8-minimal:8.5-240
- name: RELATED_IMAGE_postgres
value: quay.io/eclipse/che--centos--postgresql-96-centos7:9.6-b681d78125361519180a6ac05242c296f8906c11eab7e207b5ca9a89b6344392
- name: RELATED_IMAGE_postgres_13_3
Expand Down
3 changes: 3 additions & 0 deletions helmcharts/next/crds/org_v1_che_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,9 @@ spec:
installed. Fails when a non-matching version of the Operator
is already installed.
type: boolean
runningLimit:
description: Maximum number of the running workspaces per user.
type: string
required:
- enable
type: object
Expand Down
2 changes: 1 addition & 1 deletion helmcharts/next/templates/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
- name: RELATED_IMAGE_che_tls_secrets_creation_job
value: quay.io/eclipse/che-tls-secret-creator:alpine-01a4c34
- name: RELATED_IMAGE_pvc_jobs
value: registry.access.redhat.com/ubi8-minimal:8.5-230.1645809059
value: registry.access.redhat.com/ubi8-minimal:8.5-240
- name: RELATED_IMAGE_postgres
value: quay.io/eclipse/che--centos--postgresql-96-centos7:9.6-b681d78125361519180a6ac05242c296f8906c11eab7e207b5ca9a89b6344392
- name: RELATED_IMAGE_postgres_13_3
Expand Down