Commit Graph

33 Commits (8e8e2188f7d4fcf1ecc5c5093a93ae3dbbbbf0b3)

Author SHA1 Message Date
Angel Misevski fb972f93e7 Upgrade DWO dependency to v0.23.0
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2023-10-19 13:10:10 -04:00
Andrew O 923972e91e
feat: upgrade to DWO 0.22.0 (#1736)
* feat: upgrade to DWO 0.22.0

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

* chore: run go mod vendor

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

---------

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-07-19 10:43:47 +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 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 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 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
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
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
Nick Boldt e3b6d1b8d1
chore: make all *.sh scripts executable (#1199)
Change-Id: I5e507fd0d71de5d362b2777ba25459806ae1d8cc
Signed-off-by: nickboldt <nboldt@redhat.com>
2021-11-26 09:09:54 +02:00
Sergii Leshchenko 5e7dc085d4 fix: update go.sum and vendor folder 2021-10-06 12:56:46 +03:00
Oleksandr Andriienko b8cc02bf9a
feat: Update controller runtime (#1064)
* Update controller runtime for che-operator and related deps.
Controller runtime update to version v0.9.5
go-client update to version v0.21.3
Udaptated tests to the new controller runtime and go-client.
Use newer image puller.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-10-01 14:54:37 +03:00
Lukas Krejci 5e657f876b
feat: Syncing of proxy settings and self-signed cert to the user's workspace namespace (#1027)
Syncing of proxy settings and self-signed cert to the user's workspace namespace.

Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Serhii Leshchenko <sleshche@redhat.com>
2021-09-21 21:00:53 +02:00
Flavius Lacatusu ff8d7c9ee4
fix: Deprecate devworkspace engine from stable/latest channel (#1065)
* chore: Deprecate devworkspace engine from stable/latest channel

Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-09-20 11:27:57 +03:00
Sergii Leshchenko 2283654819 Update vendor with updated DWO 2021-08-26 16:03:30 +03:00
Lukas Krejci 456743ce01
feat: Import Devworkspace Che Operator (#925)
* Import of DWCO into CO.

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Michal Vala <mvala@redhat.com>
2021-08-11 15:07:44 +03:00
Oleksandr Andriienko f555494a7d
feat: Newer operator sdk (#826)
* Define new dependencies. Update vendor folder. Use newer operator sdk v1.7.1.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-07-19 14:29:11 +03:00
David Kwon cab8b92213 feat: set RELATED_IMAGES images to image puller spec as defaults
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-07-13 13:37:03 +02:00
Oleksandr Andriienko 4ee509e08b
CHE-15493: <username>-che as default namespace (#166)
* Set  <username>-che as default namespace for Che workspaces

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-08 09:56:53 +02:00
Tom George a6848bf1b6
install kubernetes image puller/kip operator from che-operator (#541)
* Allow the che-operator to install the Kubernetes Image Puller operator and configure a KubernetesImagePuller CR in the same namespace that che is installed in.

Adds a new field to the CheCluster CR, imagePuller, that will install the operator and create a CR if enabled.  If disabled, it will uninstall and remove the image puller artifacts.

Signed-off-by: Tom George <tgeorge@redhat.com>
2020-12-08 08:53:24 -06:00
Tom George 24fb122aa8
Operator sdk 0.15.2 (#515)
Upgrade che-operator to use operator-sdk version 0.15.2 APIs, and newer kubernetes APIs

Signed-off-by: Tom George <tgeorge@redhat.com>
2020-11-11 11:15:55 -06:00
Oleksandr Andriienko 03978b3724
fix: Check identity providers for oauth instead of check amount users. (#248)
* Back off openshift oauth, when oauth can't be used

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Use freezed go modules.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add newer olm bundle.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-05-15 11:43:58 +03:00
Anatolii Bazko a8c155409d
Make che-operator non blocking (#212)
* Make che-operator non-blocking

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-04-10 17:19:14 +03:00
Sergii Leshchenko 5a72fd7471 Update vendor
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-09-09 13:27:23 +03:00
nickboldt 7572b31fc2 CRW-280 use registry.redhat.io (authenticated) instead of registry.access.redhat.com (non-auth'd); also new server image is registry.redhat.io/codeready-workspaces/server-rhel8, not just /server
Change-Id: I247e6db78cc71d53e385e5ef830234580b3b34bd
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-05-15 13:55:03 -04:00
Eugene Ivantsov bc59de083a Update vendor 2019-03-19 15:59:09 +02:00
Eugene Ivantsov 8432ba2998 Remove all 2019-03-19 15:58:04 +02:00
Eugene Ivantsov 914e92e4e6
OpenShift/K8S Operator (#3)
* Vendor dependencies

* OpenShift/K8S Operator

* Disable ssl for realm by default

* Fix ssl for realms. Create view role
2019-01-30 11:54:38 +02:00