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
Anatolii Bazko
5d582d135c
fix: For update of existing installations we should not change the value of disableBuildCapabilities ( #1654 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-05 15:14:05 +03:00
Anatolii Bazko
3a61595a99
chore: Adapt tests for downstream ( #1652 )
...
* chore: Adapt tests for downstream
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
* make fmt
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
---------
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-04 08:58:40 +03:00
Anatolii Bazko
a66ea81a35
fix: sync should not update labels and annotations for an object ( #1649 )
...
* fix: sync should not update labels and annotations for an object
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-29 18:40:43 +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
239b5362ae
feat: Propagate kubernetes root certificate to che components ( #1637 )
...
* feat: Propagate kubernetes root certificate to che components
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-14 07:45:27 +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
822da3fcd0
chore: increase failureThreshold for a liveness probe in plugin-registry deployment ( #1628 )
...
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-02-23 10:39:52 +02:00
Valeriy Svydenko
277a038f1b
chore: increase the number of threshold for plugin reg to 90 ( #1623 )
...
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-02-21 17:24:03 +02:00
Igor Vinokur
d3fdf2476b
Support Bitbucket-server oAuth2 secret config ( #1618 )
...
Add an ability to configure bitbucket-server oAuth secret for the factory flow.
2023-02-15 16:41:16 +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
978a2d39a0
fix: set scc priority to null ( #1606 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-01-30 07:52:06 +02:00
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
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
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
David Kwon
e9e578ab15
Add retry middleware to retry connecting to mainurl if connection failed ( #1579 )
...
Signed-off-by: David Kwon <dakwon@redhat.com>
2022-12-16 10:22:28 -05:00
Anatolii Bazko
79d470a61a
chore: Adding the 'get' verb to OpenShift route permissions ( #1577 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-12-08 11:27:17 +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
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
Angel Misevski
1865d4728c
Add 'use' permission for DWO SA when container build is enabled ( #1558 )
...
Add 'use' permissions in addition to 'get' and 'update' to be added to
the DevWorkspace Operator ServiceAccount when container build
functionality is enabled. This is required due to changes in the
DevWorkspace Operator in https://github.com/devfile/devworkspace-operator/pull/954
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2022-11-10 16:57:30 -05:00
che-bot
4832094fd4
ci: Copy 7.56.0 csv to main ( #1557 )
...
* ci: Copy 7.56.0 csv to main
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
* fix: imagepuller_test.go
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2022-11-04 11:34:32 +02:00
Anatolii Bazko
6057486aa0
fix: ImagePuller should not set any target namespaces for OperatorGroup ( #1546 )
...
* fix: ImagePuller should not set any target namespaces for OperatorGroup
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-11-01 08:52:24 +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
e198287093
feat: Reduce steps which requires adding a certificate to work with git repositories with self-signed certificates ( #1535 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-07 15:59:51 +03:00
Anatolii Bazko
03723338d9
chore: Add missed user roles ( #1532 )
...
* chore: Add missed user's roles
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-06 09:50:28 +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
Igor Vinokur
757cc2efbe
fix: Avoid mounting bitbucket id if OAuth 1 is used ( #1527 )
...
* fix: Avoid mounting bitbucket id if OAuth 1 is used
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2022-09-27 22:03:00 +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
0bafc5ec5c
chore: Update RELATED_IMAGE regexes for che/devspaces ( #1515 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-09 22:42:58 +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
53354c9004
chore: make Eclipse Che compatible with OCP 4.12 instance without the… ( #1514 )
...
* chore: make Eclipse Che compatible with OCP 4.12 instance without the Console
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-07 17:53:44 +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
c67e776f56
fix: Update based on field ( #1506 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-02 14:34:29 +03:00
Anatolii Bazko
ae0f6c87c3
fix: Set default openVSXURL if Che updated from 7.52.0 version or ear… ( #1502 )
...
* fix: Set default openVSXURL if Che updated from 7.52.0 version or earlier
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-02 10:59:47 +03:00