Commit Graph

9 Commits (33a59db04798a89b08e0d519f0c718b7ec09e795)

Author SHA1 Message Date
Lukas Krejci 33a59db047
fix: Use the labels used by the che-server to recognize workspace namespaces (#1359)
Use the app.kubernetes.io/part-of=che.eclipse.org and
app.kubernetes.io/component=workspaces-namespace labels to mark a namespace
as workspace namespace.

This should bring the operator and che-server in line with how they are
marking the managed namespaces.
2022-04-27 16:06:21 +02:00
Lukas Krejci 12da7adeeb
feat: Support node selector and pod tolerations in devworkspaces (#1301)
Fixes #20884
* Upgrade to devworkspace operator with support for pod tolerations
* Implement additional logic in usernamespace controller to sync config
  from checluster CR to ns annotations understood by the dwo
* Add new fields to CheCluster CRD v1 and v2alpha1
* added support for the new fields in conversion methods between v1 and v2alpha1
2022-02-01 17:51:35 +01: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
Anatolii Bazko 1e9fa6a078
chore: Refactor certificates reconsiler (#1171)
* chore: Refactor certificates reconsiler

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-11-26 13:50:59 +02:00
Mykola Morhun 021031f6df
feat: Use custom cache function in Che Operator (#1166)
Use custom cache function to limit memory consumption of operator

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-11-19 18:35:22 +02:00
Serhii Leshchenko fcbc80e79e
fix: do not start DWR controller if devworkspaces are not enabled (#1133)
* fix: do not start DWR controller if devworkspaces are not enabled
2021-10-09 09:28:34 +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 d52d5adb16
Set the type and immutability of the secret when copying the self-signed-cert to the user's namespace. (#1094)
* fix: Set the type and immutability of the secret when copying the self-signed-cert to the user's namespace.

* update the resources

* fix: the events on objects in checluster namespace now properly trigger
reconciliation of all known namespaces.

* Update resources and remove the errorneous \n from the generated yaml.
2021-09-28 11:05: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