Commit Graph

1604 Commits (02ce7749f0fe6da90e0b89f1239c2710aecef309)

Author SHA1 Message Date
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 be2afadd93
chore: Add permissions to user to update and patch deployment/service/pvc (#1691)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-29 09:27:42 +03:00
Anatolii Bazko ae66d5c51d
fix: probePath for plugin and devfile registries deployments (#1690)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-26 16:38:15 +03:00
Anatolii Bazko 109d3c2ce1
fix: NPE in deploy.OverrideDeployment func (#1689)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-26 12:33:53 +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 b31b92b137
feat: Allow to configure OpenShift OAuth scope (#1685)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-24 10:17:31 +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 f1494e5ce7
chore: update CODEOWNERS file (#1678) 2023-05-22 09:03:22 +03:00
che-bot 33f55b7843
chore: Update from ubi8/go-toolset:1.18.10-1 to ubi8/go-toolset:1.19.6-4 (#1683)
* chore: Update from ubi8/go-toolset:1.18.10-1 to ubi8/go-toolset:1.19.6-4

Signed-off-by: Nick Boldt <nboldt@redhat.com>

* chore: Update from ubi8-minimal:8.7-1107 to ubi8-minimal:8.8-860

Signed-off-by: Nick Boldt <nboldt@redhat.com>

---------

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-05-22 08:59:21 +03:00
che-bot bd2374c17e
ci: Copy 7.67.0 csv to main (#1682)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-05-18 09:04:18 -03:00
Nick Boldt 4cc0ec157f
chore: remove mention of postgresql (#1677)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2023-05-16 09:48:52 -03:00
che-bot 624f9c8377
ci: Copy 7.66.0 csv to main (#1675)
* ci: Copy 7.66.0 csv to main

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* fix minikube test

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>
2023-05-10 10:42:39 +03:00
Angel Misevski 0c1eed6b78 Update Che Gateway default resources to match previous values
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2023-05-04 16:50:24 -04: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 b586028cd0
chore: create/start/stop/delete DevWorkspace while testing operator o… (#1671)
* chore: create/start/stop/delete DevWorkspace while testing operator on Minikube cluster

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-25 14:30:03 +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
che-bot 077a358355
ci: Copy 7.65.0 csv to main (#1668)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-04-21 09:15:13 +03:00
che-bot eda52bdeb7
ci: Copy 7.64.0 csv to main (#1665)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-04-18 09:41:48 +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
Maryna Dolhalova dbde06742d
fix: updated HAPPY_PATH_SUITE in oc-test-happy-path.sh (#1662)
Signed-off-by: mdolhalo <mdolhalo@redhat.com>
Co-authored-by: mdolhalo <mdolhalo@redhat.com>
2023-04-14 17:20:18 +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
che-bot c97a70036f
chore: Update from ubi8/go-toolset:1.18.9-13.1679486063 to ubi8/go-toolset:1.18.10-1 (#1658)
* chore: Update from ubi8/go-toolset:1.18.9-13.1679486063 to ubi8/go-toolset:1.18.10-1

Signed-off-by: Nick Boldt <nboldt@redhat.com>

* chore: Update from ubi8-minimal:8.7-1085.1679482090 to ubi8-minimal:8.7-1107

Signed-off-by: Nick Boldt <nboldt@redhat.com>

---------

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-04-11 10:43:38 -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 55720a69b6
fix: Dockerfile for OpenShift CI (#1653)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-04 09:53:11 +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
che-bot 4ee7d5b0d4
chore: Update from ubi8/go-toolset:1.18.9-13 to ubi8/go-toolset:1.18.9-13.1679486063 (#1650)
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-04-03 09:07:53 +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
che-bot ad647535d5
chore: Update from ubi8-minimal:8.7-1085 to ubi8-minimal:8.7-1085.1679482090 (#1647)
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-03-27 16:29:19 +03:00
che-bot e7120f4a26
ci: Copy 7.63.0 csv to main (#1646)
* ci: Copy 7.63.0 csv to main

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* Fix test-update.sh script

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>
2023-03-23 11:30:00 +02:00
Maryna Dolhalova b511a9ac08
Updated oc-test-happy-path.sh according to new test scripts in che project #22043 (#1641)
Signed-off-by: mdolhalo <mdolhalo@redhat.com>
Co-authored-by: Maryna Dolhalova <mdolhalo@redhat.com>
2023-03-22 15:42:04 +02:00
Anatolii Bazko 95c531052d
fix: Disable build capabilities on k8s cluster (#1640)
* fix: Disable build capabilities on k8s cluster

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-03-20 12:54:37 +02: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 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
che-bot 52c673bc0c
ci: Copy 7.62.0 csv to main (#1634)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-03-09 10:33:13 +02:00
Mykhailo Kuznietsov 38bf072489
chore: unpin buildx 0.9.1 version (#1626)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-03-01 15:39:22 +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
che-bot 454b79afba
chore: Update from ubi8/go-toolset:1.18.9-8 to ubi8/go-toolset:1.18.9-13 (#1631)
* chore: Update from ubi8/go-toolset:1.18.9-8 to ubi8/go-toolset:1.18.9-13

Signed-off-by: Nick Boldt <nboldt@redhat.com>

* chore: Update from ubi8-minimal:8.7-1049.1675784874 to ubi8-minimal:8.7-1085

Signed-off-by: Nick Boldt <nboldt@redhat.com>

---------

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-02-27 10:38:14 +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
dependabot[bot] 1aac15cfb9
chore(deps): bump golang.org/x/net from 0.2.0 to 0.7.0 (#1621)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.2.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.2.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 09:09:06 +02:00
che-bot 7d92ce0b38
ci: Copy 7.61.0 csv to main (#1620)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-02-16 10:41:15 +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
che-bot 0eb919ed15
chore: Update from ubi8-minimal:8.7-1049 to ubi8-minimal:8.7-1049.1675784874 (#1616)
Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-02-09 11:28:19 -04: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