Commit Graph

67 Commits (6cf8df2b860b81ea53b3bc98aafe6c25a313aa7c)

Author SHA1 Message Date
Anatolii Bazko 6cf8df2b86
feat: Allow to configure ImagePullPolicyt for a user workspace (#1747)
* fear: Allow to configure ImagePullPolicy for a user workspace

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-08-23 09:50:26 +02:00
Andrew O 1bd44bdb28
add pod & container security context Che Cluster Fields (#1729)
* feat: add Che Cluster CR fields for pod & container security context

Also modify devEnvironments.disableContainerBuildCapabilities field documentation
to mention it overrides devEnvironments.security.containerSecurityContext
when set to false.

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* feat: configure DWOC pod & container security context from Che Cluster CR

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: Add tests for DWOC pod & security context configuration

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: update dev resources for Che Cluster CR devEnvironments.security field

Also updates dev resources for devEnvironments.disableContainerBuildCapabilities
field documentation.

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: split DevWorkspaceConfig tests into seperate functions

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: clean up DevWorkspaceConfig container builds tests

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: clean up unused error in DevWorkspaceOperatorConfig reconciler

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

---------

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-08-10 16:54:52 +02:00
Andrew Obuchowicz cbf068fa32 chore: update dev resources for persistUserHome Che Cluster CR field
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-07-27 15:35:10 +02:00
Anatolii Bazko 0128427329
feat: Customize dashboard logo (#1722)
* feat: Customize dashboard logo

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Update dev resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-07-13 15:17:05 +02:00
Anatolii Bazko a716cafd07
fix: Add permissions to update `ingress` k8s resources (#1692)
* fix: allow permissions to update ingress k8s resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Update dev resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Update dev resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-31 11:11:34 +03:00
Angel Misevski 02ce7749f0
Add fields for configuring project clone container to CheCluster CRD (#1687)
* Update devworkspace-operator dependency version to v0.21.0

Update devworkspace-operator dependency to v0.21.0 and update vendor dir

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

* Add project clone container config field to CheCluster CR

Add field .spec.devEnvironments.projectCloneContainer to allow
configuring image, env, resources, and pull policy for the project clone
container.

This change reuses the existing Container struct for storing this
config, which means that

* The name field is ignored (it appears to be a discriminator for the
  Deployment struct's containers[] field
* Defaults are handled differently:
  * Default imagePullPolicy is the general pull policy for DWO, with
    default value "Always" (instead of depending on tag as documented)
  * Resource requirements set to "0" are interpreted as "do not set this
    field"

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

* Add reconcile step that syncs CheCluster project clone to DevWorkspace

Sync the field CheCluster.devEnvironments.projectCloneConfig to the
DevWorkspaceOperatorConfig owned by the operator.

Update tests to cover new functionality.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

---------

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2023-05-31 09:58:50 +03:00
Anatolii Bazko 97f6177500
feat: Set empty CPU limits when possible (#1686)
* feat: Set empty CPU limits when possible

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-25 17:20:44 +03:00
Anatolii Bazko 47d5ae3f05
chore: Remove `spec.components.database` and `status.postgresVersion` fields (#1684)
* chore: Remove spec.components.database and status.postgresVersion fields

Signed-off-by: Anatolii Bazko <abazko@redhat.com>


---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-24 09:07:54 +03:00
Mykhailo Kuznietsov b9d8ce34b5
feat: add ability to override Gateway container in devEnvironments (#1639)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Angel Misevski <amisevsk@redhat.com>

---------

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Angel Misevski <amisevsk@redhat.com>
2023-04-25 17:18:38 +03:00
Anatolii Bazko c927cac2bf
feat: allow to specify IngressClassName (#1669)
* feat: allow to specify IngressClassName

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-25 08:50:07 +03:00
Andrew O a98d18233e
feat: configure workspace deployment strategy with CheCluster CR (#1666)
* feat: configure workspace deployment strategy with CheCluster CR

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: add tests for configuring workspace deployment strategy

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: update dev resources for devEnvironments.DeploymentStrategy

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

---------

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-04-25 08:43:55 +03:00
Anatolii Bazko 4bcc78a27a
feat: Allow to configure user custom roles (#1663)
* feat: Allow to configure user custom roles without duplicating default ones

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-21 14:52:05 +03:00
Andrew O 5bd0cdc19a
feat: configure DWOC ServiceAccount tokens from devEnvironments.serviceAccountTokens (#1643)
* feat: configure DWOC ServiceAccount tokens from devEnvironments.serviceAccountTokens

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-04-17 16:49:09 +03:00
Anatolii Bazko fb6bccfd61
feat: Update Dev Workspace Operator v0.20.0 (#1660)
* feat: Update Dev Workspace Operator v0.20.0

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Restore replaces in go.mod

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Restore replaces in go.mod

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: update DEPENDENCIES.md (#1661)

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* Update DEPENDENCIES.md

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
Co-authored-by: Andrew O <aobuchow@redhat.com>
2023-04-14 16:14:30 +03:00
Anatolii Bazko a1bb81f67c
feat: allow not to set resources requests/limits (#1656)
* feat: allow not to set resources requests/limits

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-12 15:52:52 +03:00
Valeriy Svydenko 7207630a3c
use UDI with ubi8-latest tag (#1648)
Replaces UDI:ubi8-38da5c2 with UDI:ubi8-latest to have latest changes form the universal developer image (UDI) in the default componen.

Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-03-29 15:03:36 +03:00
Anatolii Bazko c1ec947acd
feat: Move some defaults out of CheCluster to env variables (#1642)
* feat: Move some defaults out of CheCluster to env variables

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-29 09:09:46 +03:00
Anatolii Bazko 2182f45ae9
feat: Enable build capabilities by default (#1636)
* feat: Enable build capabilities by defau

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-13 15:16:23 +02:00
Anatolii Bazko 12169def8b
feat: Remove PostgreSQL component (#1630)
* feat: Remove PostgreSQL component

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-28 15:42:22 +02:00
Anatolii Bazko 8d0ee22923
feat: Support Azure DevOps Service OAuth (#1622)
* feat: Support Azure DevOps Service OAuth2 config

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-27 18:09:40 +02:00
Valeriy Svydenko cad72eb012
chore: set che-incubator/che-code/latest as a default editor (#1614)
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-02-09 16:57:00 +02:00
Anatolii Bazko 8f5c3b41fa
feat: Configure disable subdomain isolation via secret (#1613)
* feat: Configre disable subdomin isolation via secet

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Deprecate Enpoints

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-09 12:43:56 +02:00
Anatolii Bazko 93f378e028
chore: Update quay.io/brancz/kube-rbac-proxy from 0.11.0 to 0.13.1 (#1601)
* chore: Update quay.io/brancz/kube-rbac-proxy from 0.11.0 to 0.14.0

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Update quay.io/brancz/kube-rbac-proxy from 0.11.0 to 0.13.1

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-01-18 09:02:55 +02:00
Anatolii Bazko 397c97c675
feat: limit the number of workspaces per user (#1585)
* feat: limit the number of workspaces per user

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-01-13 14:07:36 +02:00
Anatolii Bazko c0e1de8079
chore: Update Traefik to 2.9.6 version (#1593)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-01-09 10:43:19 +02:00
Andrew O 571cd1e329
feat: configure workspace start timeout from Che Cluster CR (#1576)
* feat: configure workspace security context for container builds

Fix eclipse/che#21770

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* feat: add spec.devEnvironments.startTimeout to Che Cluster CR

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: add tests for configuring DWO progressTimeout with Che Cluster CR

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: update deployment, bundle, CSV and CRD

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* Update resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2022-12-28 10:20:12 +02:00
David Kwon 4774568459
feat: spec.devEnvironments.podSchedulerName in CR (#1587)
* feat: spec.devEnvironments.podSchedulerName in CR

Signed-off-by: David Kwon <dakwon@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2022-12-23 11:18:34 -05:00
Anatolii Bazko 149a39fe75
feat: Update DWO v0.18.0 (#1586)
* feat: Update DWO v0.18.0

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-12-22 15:02:45 +02:00
Anatolii Bazko bd74906edc
feat: Support ephemeral pvc strategy (#1580)
* feat: Support ephemeral pvc strategy

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-12-21 09:24:19 +02:00
Anatolii Bazko 783d35046c
feat: Use a pre-created ServiceAccount for workspace Pods (#1569)
* feat: Use a pre-created ServiceAccount for workspace Pods

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-12-07 15:25:01 +02:00
Anatolii Bazko 8ef15f9489
chore: Update oauth2-proxy image (#1574)
* chore: Update oauth2-proxy image

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-12-06 15:08:52 +02:00
Anatolii Bazko 04e016fa7b
chore: Add permissions to watch events (#1573)
* chore: Add permissions to watch events

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-12-06 15:07:45 +02:00
Anatolii Bazko af9cdcac08
chore: Use the same secret name for a webhook service (#1566)
* chore: Use the same secret name for a webhook service for both Kubernetes and OpenShift platforms
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-11-23 14:26:16 +02:00
Anatolii Bazko 7bc4194e0e
chore: Migrate from sql-based to file-based catalog source format (#1559)
chore: Migrate from sql-based to file-based catalog source format 

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-11-16 15:00:09 +02:00
Mario Loriedo fd6e188c7e
Switch to VS Code as the default Eclips Che editor (#1551) 2022-11-01 10:34:14 +01:00
Anatolii Bazko 17dfedb4df
feat: Automatically add the container build SCC to users if containerBuildCapability is enabled (#1543)
* feat: Automatically add the container build SCC to users if containerBuildCapability is enabled

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-20 10:28:07 +03:00
Anatolii Bazko 21b652e2c4
feat: Automatically create the container build SCC if containerBuildC… (#1542)
* feat: Automatically create the container build SCC if containerBuildCapability is enabled

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-18 10:07:01 +03:00
Anatolii Bazko 7a984c967d
chore: disableContainerBuildCapabilities=true default (#1539)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-12 18:15:04 +03:00
Anatolii Bazko cb7cab8a6e
feat: Add devEnvironments.disableContainerBuildCapabilities field (#1536)
* feat: Add devEnvironments.disableContainerBuildCapabilities field

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-12 09:45:04 +03:00
Anatolii Bazko 2c7637d468
feat: Allow to configure subdomain isolation for GitHub (#1528)
* feat: Allow to configure subdomain isolation for GitHub

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-28 09:49:36 +03:00
Anatolii Bazko 5373f5320d
feat: Move handling DevWorkspace operator resources out of Che Operator (#1520)
* feat: Remove managing Dev Workspace resources from operator codebase

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-22 12:23:54 +03:00
Anatolii Bazko bbec58649b
feat: Add new fields in CheCluster CR to configure Git Services (#1457)
* feat: Add new fields in CheCluster CR to configure Git Services

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-08 16:53:20 +03:00
Anatolii Bazko 24f0db2417
feat: Add a CheCluster property to avoid automatic creation of users … (#1508)
* feat: Add a CheCluster property to avoid automatic creation of users namespaces

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-05 15:02:58 +03:00
Andrew O aa27398e5b
update Che CRD for DWO per-user strategy storage configuration (#1442)
* update Che CRD for DWO per-user strategy storage configuration

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2022-08-30 11:44:53 +03:00
Anatolii Bazko 9d4f072023
feat: set default components container image and default editor (#1486)
* feat: set default components container image and default editor

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-08-25 12:13:16 +03:00
Anatolii Bazko 7d6dcbd914
chore: Update to newer RELATED_IMAGE_gateway_authentication_sidecar a… (#1487)
* chore: Update to newer RELATED_IMAGE_gateway_authentication_sidecar and RELATED_IMAGE_gateway_authorization_sidecar

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-08-18 14:20:02 +03:00
Anatolii Bazko 50ac2172df
chore: Rename CheCluster field headerMessage.warning -> headerMessage.text (#1476)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-08-10 17:43:01 +03:00
Anatolii Bazko 4d8e0e25a9
chore: Remove explicitly declared runAsNonRoot: true (#1475)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-08-10 11:42:32 +03:00
Anatolii Bazko defec6763e
feat: Allow to set environment variables into Eclipse Che containers (#1468)
* feat: Allow to set environment variables into Eclipse Che containers

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-08-06 16:13:11 +03:00
Anatolii Bazko 7f051fa08d
feat: Configure Open VSX registry URL (#1466)
* feat: Configure Open VSX registry URL

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-08-03 10:35:24 +03:00