Commit Graph

31 Commits (a4e19ead9d324dce09f5ca400a5cb7eff3abd253)

Author SHA1 Message Date
Anatolii Bazko a4e19ead9d
chore: Update dev resources (#1774)
* chore: Update dev resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-11-02 15:16:31 +01:00
Anatolii Bazko a75d1857cc
feat: Allow to configure CookieExpire timeframe (#1760)
* feat: Allow to configure CookieExpire timeframe

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-09-29 16:19:31 +02:00
David Kwon 328a2dff18
Add attributes to set gateway container log level in Che CR (#1748)
feat: set traefik and kube-rbac-proxy log level in CR

Signed-off-by: dkwon17 <dakwon@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2023-09-13 15:43:42 -04: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
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 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 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 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
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
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
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
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 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
Anatolii Bazko 775a979a05
chore: Do not set default openVSXURL if operator is being deployed in… (#1544)
* chore: Do not set default openVSXURL if operator is being deployed in airgap environment

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-26 10:00:37 +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 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 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
David Kwon 35bd69184c
feat: implement secondsOfInactivityBeforeIdling and secondsOfRunBefor… (#1443)
* feat: implement secondsOfInactivityBeforeIdling and secondsOfRunBeforeIdling CR config

Signed-off-by: David Kwon <dakwon@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2022-07-13 13:04:59 -04:00
Anatolii Bazko 885d623258
feat: Configure the access token timeouts (#1418)
* feat: Configure the OAuthClient token configuration

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-06-29 09:47:41 +03:00
Anatolii Bazko aa0806fde4
chore: Refactoring (#1411)
* chore: Refactoring

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-06-24 19:34:27 +03:00
Oleksii Orel 3830ac4e28
feat: support workspace defaults (#1395)
* feat: support workspace defaults

Signed-off-by: Oleksii Orel <oorel@redhat.com>
2022-06-22 16:52:35 +03:00
Anatolii Bazko 0bc1049017
feat: CheCluster API v2 (#1324)
* feat: CheCluster API v2

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-06-09 11:35:01 +03:00