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
Oleksandr Andriienko
ae276a4d2f
build: Remove redundant check. Pass tests on image build. Remove test execution on make file image build. ( #970 )
...
* Remove redudant check. Pass tests on image build. Remove test execution on make file image build.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-07-28 16:34:44 +03:00
Oleksandr Andriienko
6c76cd833d
fix: CRW-1956: Rework tests for CRW ( #968 )
...
* CRW-1956: Rework tests for CRW
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-07-27 17:30:41 +03:00
David Kwon
298fb403fb
Change formatting
...
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-07-22 15:34:27 +02:00
David Kwon
cd0d0d2a8f
Don't hardcode default image version numbers for tests
...
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-07-22 15:34:27 +02:00
David Kwon
5d0abfd5fb
feat: Update image puller default images when CSV file is updated
...
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-07-22 15:34:27 +02:00
Max Shaposhnik
9195560156
fix: Allow roles update for che workspace cluster role
2021-07-21 22:03:04 +03:00
Serhii Leshchenko
5ab41546b3
feat: add an ability to add localhost to allows list for keycloak ( #937 )
...
* feat: add an ability to mount configmap to deployment
* feat: add an ability to configure additional weborigins and redirecturls for keycloak
2021-07-21 16:00:20 +03:00
Oleksandr Andriienko
24f854c0c1
Don't ignore restore status error. I hope it will make restore feature more stable. ( #941 )
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-07-21 09:27:10 +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