Anatolii Bazko
474b0c8421
fix: don't require `app.kubernetes.io/instance:che` label on k8s object to trigger a reconcile ( #1204 )
...
* fix: don't require 'app.kubernetes.io/instance:che' label
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-11-30 15:39:46 +02: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
Anatolii Bazko
2da1195bd9
fix: build downstream ( #1194 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-11-23 09:17:47 +02:00
Mykola Morhun
ce4e107719
Apply part-of label to devworkspace resources managed by Che Operator ( #1189 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-11-22 16:45:46 +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
Igor Vinokur
a434cc5953
fix: Add patch, list, update verbs to the configmap role ( #1180 )
...
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2021-11-18 15:49:54 +02:00
Oleksandr Andriienko
b4930b5054
fix: Fix license headers ( #1170 )
...
* Fix license headers.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-11-16 11:17:18 +02:00
Anatolii Bazko
8bdbbc1dfa
chore: Refactoring OpenShiftOAuth ( #1167 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-11-10 17:41:07 +02:00
Anatolii Bazko
e1b4541ed2
chore: Refactoring OpenShift Initial user reconciler ( #1152 )
...
* chore: refactoring OpenShift OAuth User
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Co-authored-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-11-04 17:42:49 +02:00
Mykola Morhun
cb17fce445
Use cached and non-cached clients in backup/restore controllers ( #1156 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-10-21 16:49:57 +03:00
Anatolii Bazko
a889b56a9d
fix: Set CHE_INFRA_KUBERNETES_ENABLE__UNSUPPORTED__K8S: true when devworkspace is enabled on k8s ( #1155 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-10-21 15:33:24 +03:00
Anatolii Bazko
f838cf48d2
checontroller refactoring ( #1138 )
...
* chore: Introduce reconcilemanager, update status when reconciliation failed.
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-10-19 10:56:49 +03:00
Anatolii Bazko
06aa35c92c
fix: configure runtime controller with namespace event filter ( #1146 )
...
* fix: configure runtime controller with namespace event filter
* Increase memory limit to 1Gi
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-10-18 13:53:52 +03:00
Mykola Morhun
80583a19c0
Add init containers to start Che correctly after node restart ( #1139 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-10-13 16:15:11 +03:00
Anatolii Bazko
434db641f7
fix: Print 'More than one checluster Custom Resource found' warning only there are more than 1 CR ( #1140 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-10-13 12:47:43 +03:00
Michal Vala
d104845f89
feat: accessible workspace healthz endpoint ( #1119 )
...
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-10-11 19:22:36 +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
Anatolii Bazko
d44546bc86
fix: import ca-bunle even if there are several checluster CR (non all-namespace mode) ( #1135 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-10-09 09:27:27 +03:00
Mykola Morhun
3cab035d89
Read trusted CA configmaps only from installation namespace ( #1125 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-10-06 12:49:44 +03:00
Serhii Leshchenko
ce230cde18
feat: don't take control over DWO which is not managed by Che ( #1085 )
...
* feat: don't take control over DWO which is not managed by Che
2021-10-01 21:51:35 +03:00
Mykola Morhun
3952a53188
Propagate plugin registry URL to plugin registry configmap ( #1118 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-10-01 19:35:53 +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
Mykola Morhun
f8c3c2e138
Limit list to current namespace for backup and restore ( #1106 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-10-01 10:22:40 +03:00
David Kwon
53970009dd
fix: delete KIP finalizer and KIP operator on CheCluster CR delete ( #1082 )
...
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-09-29 11:28:54 -04:00
Mykola Morhun
b74443cc8b
Create backup on every Che update ( #1097 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-09-29 17:18:30 +03:00
Mykola Morhun
6e72d0565f
Fix restore process if keycloak is already deleted ( #1095 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-09-29 11:08:22 +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
Mykola Morhun
7a95792c1c
Do not automatically backup to internal backup server if it doesn't exist ( #1090 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-09-24 17:14:55 +03:00
Michal Vala
bd8e5d0d07
feat: define routing paths for che-server to improve return http codes ( #1076 )
...
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-09-24 14:52:30 +03:00
Max Shaposhnik
f4d80166ed
feat: Add Traefik gateway container CPU & RAM request/limit resources ( #1088 )
...
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
2021-09-24 13:14:58 +03:00
Mykola Morhun
08b26bc573
fix: internal backup server url ( #1072 )
...
Make internal backup server accessible in all namespaces mode
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-09-22 13:12:33 +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
Michal Vala
2ad6c4fd6a
feat: secure workspace services ( #1045 )
...
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-09-17 12:37:02 +02:00
Mykola Morhun
a1f30c3356
Create backup on each update ( #1055 )
...
Create backup on update operator
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-09-15 15:38:58 +03:00
Anatolii Bazko
753eafe88c
fix: don't add intial OpenShift OAuth user if native user mode is on ( #1066 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-09-14 16:54:35 +03:00
Oleksandr Andriienko
8b1dd1527a
feat: Update keycloak from 6.0.1 to 15 ( #1015 )
...
* Use keycloak 15. Add separated option to debug keycloak server.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-09-10 12:36:00 +03:00
Max Shaposhnik
f64dcf4bea
Fix kubernetes gateway rules creation
2021-09-09 17:29:27 +03:00
Anatolii Bazko
8e0966bed3
Drops single-user mode ( #1043 )
...
* chore: drop single-user support
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-09-09 13:42:41 +03:00
Oleksandr Andriienko
c36958d8ea
fix: Set Che host url in the CR status when Che server deployment is ready ( #1040 )
...
* fix: Set Che host url in the CR status when Che server deployment is ready.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-09-02 17:14:09 +03:00
Sergii Leshchenko
9da9458dd1
Make dashboard finalize its cluster rbac
2021-08-30 13:35:41 +03:00
Oleksandr Andriienko
8802c0f2b0
fix: Utilize dashboard finalizer. ( #1037 )
...
* fix: Utilize dashboard finalizer.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Update bundle.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-08-26 19:57:29 +03:00
Sergii Leshchenko
dd6a1e4af0
Do not use v1beta1 in DWCO code
2021-08-26 16:03:30 +03:00
Michal Vala
edca3de035
feat: update traefik to 2.5.0 ( #1023 )
...
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-08-20 12:49:57 +02:00
Michal Vala
491f711eca
Gh19707 secure workspace ( #1001 )
...
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-08-19 15:28:55 +02:00
Anatolii Bazko
61cd3aa9cc
Plugin registry is deployed after devfile registry ( #1013 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-08-17 21:32:42 +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
Anatolii Bazko
7ff7399be9
fix: improve restore stability ( #996 )
...
* fix: restore reconciler
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-08-10 17:13:58 +03:00
Michal Vala
95471dfefd
feat: enable nativeUserMode on OpenShift with devworkspace by default ( #978 )
...
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-08-06 18:33:49 +02:00
Anatolii Bazko
2ae826d4cc
chore: generate networking.k8s.io/v1 version of Ingress ( #992 )
...
* chore: generate networking.k8s.io/v1 version of Ingress
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-08-06 08:56:56 +03:00
Max Shaposhnik
34f0be0113
fix: Add "get", "patch" and "update" roles for secrets for Che SA;
...
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Igor Vinokur <ivinokur@redhat.com>
2021-08-03 12:13:34 +03:00