Commit Graph

12 Commits (6cf8df2b860b81ea53b3bc98aafe6c25a313aa7c)

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 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 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 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
Angel Misevski 47a9998845
chore: Bump DevWorkspace Operator dependency to v0.15.2 (#1454)
* Bump DWO dependency to v0.15.2

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

* Vendor changes from updating DWO dependency

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

* Regenerate files after changes

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2022-07-23 17:15:20 +03:00
Angel Misevski 28e8e8246c
chore: Bump DevWorkspace Operator dependency to v0.14.1 (#1376)
* Bump DevWorkspace Operator dependency to v0.14.1
* Vendor changes from updating DWO dependency to v0.14.1

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2022-05-06 15:46:43 -04:00
Angel Misevski 960953e348 chore: Bump DevWorkspace Operator dependency to v0.13.0
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2022-03-04 13:39:26 -05:00
Angel Misevski dcffa0189e
chore: Update DevWorkspace Operator dependency to v0.12.3 (#1306)
* Update DevWorkspace Operator dependency to v0.12.3

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2022-02-02 12:19:42 +02:00
Angel Misevski c81c737d81
chore: Update DevWorkspace Operator dependency to v0.12.2 (#1302)
* Update DevWorkspace Operator dependency to v0.12.2

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

* Update vendor directory to include DWO v0.12.2

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

* Adapt Che routing solver to DevWorkspace Operator changes

Adapt code in Che RoutingSolver to accomodate changes in DWO that
disconnect DevWorkspaceRouting resources from the upstream Devfile API

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

* Set Go version to 1.16

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

* Update all Go images used to use Go 1.16

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

* Set up Go to use 1.16 in PR check GitHub actions

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

* Update RBAC

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2022-02-01 10:46:21 +02:00
Lukas Krejci 0e72bb2ca8
Sync the certificate from che-git-self-signed-cert to user namespaces (#1222)
feat: Sync the git tls certificate configuration in a format digestable by DWO.

Other slightly related changes:
* Make sure the version content annotations survive across multiple conversions
between v1 and v2alpha1.
* Add DWO watch labels so that our stuff is picked up.
* irifrance/gini has moved to go-air/gini
2021-12-15 15:41:55 +01:00
Oleksandr Andriienko a99ecd03be
feat: Add DEPENDENCIES.md github action check. (#1148)
* feat: Add DEPENDENCIES.md github action check.

Co-authored-by: Anatolii Bazko <abazko@redhat.com>

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-10-19 16:20:23 +03:00
Oleksandr Andriienko e1370708b7
feat: Add `Dependencies.md` with list of runtime dependencies (#1121)
* feat: Add Dependencies.md with list of runtime dependencies 

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-10-05 15:12:57 +03:00