Commit Graph

29 Commits (efafc2ada345fcdec2c0bedec7404a1b3bd05e30)

Author SHA1 Message Date
Anatolii Bazko 4e75590a11
chore: Refactor Kubernetes Image Puller (#1598)
* chore: Refactor Kubernetes Image Puller

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-01-12 12:25:05 +02:00
Angel Misevski 3d07ff759a
Set SCC allowPrivilegeEscalation to true when container build enabled (#1596)
* Set SCC allowPrivilegeEscalation to true when container build enabled

Running Podman inside a container in OpenShift requires the pod to have
allowPrivilegeEscalation: true in its security context.

* Fix tests

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2023-01-11 10:39:23 -05:00
Anatolii Bazko 6110221447
chore: Allow to run che-server on OpenShift with FIPS enabled (#1597)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-01-11 14:59:57 +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
Piotr Karatkevich d8e1be1948
fix(utils): whitelist should not cut off second-level domain (#1588) 2022-12-23 15:10:36 +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 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 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
Valeriy Svydenko 8e631f5d42
chore: increase default memory limit for embedded openvsx registry to 4Gi (#1534)
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>

Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2022-10-11 10:58:35 +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 1505555e0e
fix: Ensure only one CheCluster is created (#1517)
* fix: Ensure only one CheCluster is created

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-16 13:41:34 +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 75a31c3bb3
feat: configure DWOC from che-operator CR (#1494)
* feat: configure DWOC from che-operator CR

Currently, only the following fields from the checluster custom resource
are propagated to the DevWorkspace-Operator Configuration:

- `checluster.spec.devEnvironments.Storage.pvcStrategy`
- `checluster.spec.devEnvironments.Storage.perUserStrategyPvcConfig.ClaimSize`
- `checluster.spec.devEnvironments.Storage.perUserStrategyPvcConfig.StorageClass`
- `checluster.spec.devEnvironments.Storage.perWorkspaceStrategyPvcConfig.ClaimSize`
- `checluster.spec.devEnvironments.Storage.perWorkspaceStrategyPvcConfig.StorageClass`

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

* Update CSV and autogenerated apiv2 deepcopy

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

* Refactoring

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

* make fmt

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-09-02 19:50:35 +03:00
Anatolii Bazko bb7dd51325
feat: Adjust memory of plug-in registry container based on openVSXURL settings (#1485) 2022-08-17 15:34:54 +03:00
Anatolii Bazko a3d6f70fe6
fix: Don't set runAsNonRoot=true for Eclipse Che operands (#1477)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-08-10 19:11:28 +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 954e5a64f6
fix: Improve a way to check if DevWorkspace resources must be managed… (#1467)
* fix: Improve a way to check if DevWorkspace resources must be managed by Che Operator

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-08-05 17:06:18 +03:00
Florent Benoit 7c97fd5fc3 feat: Update memory for Plugin-Registry to 1536Mi
Change-Id: I125f1cbb5f6974f23d3b1942c3581f6a8d986046
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2022-08-01 15:40:02 +02:00
Anatolii Bazko 152c8211a6
chore: declare pod securityContext explicitly (#1458)
* feat: ensure pod security standard

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-08-01 10:00:42 +03:00
Florent BENOIT 43f1d3f732
feat: Increase default memory limit for plug-in registry (#1459)
When OpenVSX will be included in the plug-in registry
It'll require more memory to start.
With 256Mi, container is killed with OOM error

Change-Id: I2ae148f858550f92d64c41d6fa81af826624b377
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2022-07-28 09:31:45 +03:00
Igor Vinokur 452b0789ff
chore: Propagate Bitbucket SAAS Oauth secret properties (#1445)
Add Bitbucket Oauth2 properties support. Propagate Bitbucket SAAS client id and client secret Oauth2 properties as workpsace environment variables.
2022-07-27 12:24:09 +03:00
Anatolii Bazko 9ea20f5868
fix: Take into account given `OAuthSecret` and `OAuthClientName` fields while deploying Eclipse Che on OpenShift (#1412)
* fix: Take into account given OAuthSecret and OAuthClientName fields while deploying Eclipse Che on OpenShift

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-06-27 16:47:53 +03:00
Anatolii Bazko 71a5ba500c
fix: sync ConsoleLink (#1410)
* fix: sync ConsoleLink

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-06-23 14:17:00 +03:00
Anatolii Bazko 38f6cb6381
feat: CheCluster defaults (#1407)
* feat: CheCluster defaults

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-06-22 11:02:08 +03:00
Piotr Karatkevich c364ba4e93
feat(oauth-proxy): configuration enhancements for k8s config (#1400)
* feat(oauth-proxy): configuration enhancements for k8s config
2022-06-22 09:51:43 +03:00
Anatolii Bazko 8e0859aafc
chore: remove unused codebase (#1401)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-06-13 11:16:27 +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