Commit Graph

50 Commits (a4e19ead9d324dce09f5ca400a5cb7eff3abd253)

Author SHA1 Message Date
Anatolii Bazko a4e19ead9d
chore: Update dev resources (#1774)
* chore: Update dev resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-11-02 15:16:31 +01:00
Anatolii Bazko 72e7852712
chore: Allow che-dasbhoard SA to read ConfigMap in eclipse-che namespace (#1749)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-09-04 17:33:31 +02:00
Andrew O 1bd44bdb28
add pod & container security context Che Cluster Fields (#1729)
* feat: add Che Cluster CR fields for pod & container security context

Also modify devEnvironments.disableContainerBuildCapabilities field documentation
to mention it overrides devEnvironments.security.containerSecurityContext
when set to false.

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

* feat: configure DWOC pod & container security context from Che Cluster CR

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

* chore: Add tests for DWOC pod & security context configuration

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

* chore: update dev resources for Che Cluster CR devEnvironments.security field

Also updates dev resources for devEnvironments.disableContainerBuildCapabilities
field documentation.

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

* chore: split DevWorkspaceConfig tests into seperate functions

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

* chore: clean up DevWorkspaceConfig container builds tests

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

* chore: clean up unused error in DevWorkspaceOperatorConfig reconciler

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

---------

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-08-10 16:54:52 +02:00
Anatolii Bazko 97f6177500
feat: Set empty CPU limits when possible (#1686)
* feat: Set empty CPU limits when possible

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-25 17:20:44 +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 a1bb81f67c
feat: allow not to set resources requests/limits (#1656)
* feat: allow not to set resources requests/limits

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-12 15:52:52 +03:00
Anatolii Bazko 3a61595a99
chore: Adapt tests for downstream (#1652)
* chore: Adapt tests for downstream

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* make fmt

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-04 08:58:40 +03:00
Valeriy Svydenko 7207630a3c
use UDI with ubi8-latest tag (#1648)
Replaces UDI:ubi8-38da5c2 with UDI:ubi8-latest to have latest changes form the universal developer image (UDI) in the default componen.

Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-03-29 15:03:36 +03:00
Anatolii Bazko c1ec947acd
feat: Move some defaults out of CheCluster to env variables (#1642)
* feat: Move some defaults out of CheCluster to env variables

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-29 09:09:46 +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 775a979a05
chore: Do not set default openVSXURL if operator is being deployed in… (#1544)
* chore: Do not set default openVSXURL if operator is being deployed in airgap environment

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-26 10:00:37 +03:00
Anatolii Bazko 53354c9004
chore: make Eclipse Che compatible with OCP 4.12 instance without the… (#1514)
* chore: make Eclipse Che compatible with OCP 4.12 instance without the Console

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-07 17:53:44 +03:00
Anatolii Bazko 152c8211a6
chore: declare pod securityContext explicitly (#1458)
* feat: ensure pod security standard

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-08-01 10:00:42 +03:00
Anatolii Bazko aa0806fde4
chore: Refactoring (#1411)
* chore: Refactoring

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-06-24 19:34:27 +03:00
Piotr Karatkevich c364ba4e93
feat(oauth-proxy): configuration enhancements for k8s config (#1400)
* feat(oauth-proxy): configuration enhancements for k8s config
2022-06-22 09:51:43 +03:00
Anatolii Bazko 0bc1049017
feat: CheCluster API v2 (#1324)
* feat: CheCluster API v2

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-06-09 11:35:01 +03:00
Oleksii Orel 96574bb600
Allow loading preload page without authorization (#1360)
* feat: remove entry point from server getaway

Signed-off-by: Oleksii Orel <oorel@redhat.com>

* feat: add entry point for dashboard getaway

Signed-off-by: Oleksii Orel <oorel@redhat.com>

* feat: allow loading preload page without authorization

Signed-off-by: Oleksii Orel <oorel@redhat.com>
2022-04-22 21:59:05 +03:00
Anatolii Bazko d5928bdfe3
chore: Improve handling CheHost field (#1348)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-03-17 15:06:40 +02:00
Anatolii Bazko 51002ea5f2
chore: don't update chehost in CheCluster spec (#1340)
* chore: don't update chehost in CheCluster spec

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Add missing files

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-03-16 11:37:40 +02:00
David Kwon fad01b429f
fix: bind dashboard cluster role to dashboard SA for OpenShift clusters (#1322)
Signed-off-by: David Kwon <dakwon@redhat.com>
2022-02-16 11:13:15 -05:00
Oleksii Orel c1844de883
Fix rbac for dashboard backend (#1304)
* fix: fix rbac for dashboard backend

Signed-off-by: Oleksii Orel <oorel@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2022-02-01 17:05:49 +02:00
Anatolii Bazko 92d24388ec
chore: Remove obsolete code after switching to Dev Workspace enabled (#1291)
* chore: Remove keycloak deployment

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Get rid of codebase related to spec.devWorkspace.enable field

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Remove code related to auth.initialOpenShiftOAuthUser field

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Remove code related to some auth.* fields

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Remove code related to some auth.openShiftoAuth field

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Remove code related to auth.nativeUserMode field

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Remove code related to server.tlsSupport and server.*ClusterSVCNames fields

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Update bundle

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Remove code related to server expouse strategy fields

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Remove deprecated code

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Remove code related to server.tlsSupport and server.cheFlavor field

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Update bundle

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Update helm charts

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: Update bundle

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* chore: remove RELATED_IMAGE_keycloak

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-01-24 09:52:15 +02:00
Mykola Morhun 3262a5acc1
refactor: Do not reconcile on any error inside finalizers (#1252)
Queue a new reconcile loop on any finalization error, but do not stop current
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-12-15 16:42:17 +02:00
David Kwon aa0c0da8ef feat: set CHECLUSTER_CR_NAMESPACE and CHECLUSTER_CR_NAME env vars for dashboard
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-12-15 08:19:46 -05:00
Anatolii Bazko eab4c9b5f4
fix: Make tests independent of cheFlavor (#1251)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-12-14 14:22:38 +02:00
Anatolii Bazko 608bff0187
chore: checluster controller refactoring (#1244)
* chore: Refactoring checluster controller

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-12-09 14:13:59 +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
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
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
Serhii Leshchenko 5cb2dbe15d
feat: grant dashboard permissions to manage secrets (#1157) 2021-11-01 18:08:26 +02:00
Sergii Leshchenko d0e16a3443 feat: propagate openshift console URL to dashboard 2021-10-13 11:16:47 +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 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
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
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
Sergii Leshchenko d010adde34 fix: check is che self-signed secret exist before mounting 2021-09-17 16:56:18 +03:00
Sergii Leshchenko 14fb855c14 Provision internal urls, CAs and proxy settings into dashboard 2021-09-17 16:56:18 +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 86d748bee0 Refactor dashboard tests 2021-08-30 13:35:41 +03:00
Sergii Leshchenko 9da9458dd1 Make dashboard finalize its cluster rbac 2021-08-30 13:35:41 +03:00
Sergii Leshchenko 12f4ce5822 feat: handle rbac for dashboard backend 2021-08-25 14:24:35 +03:00
Sergii Leshchenko 183b960766 feat: propagate config needed for dashboard backend 2021-08-25 14:24:35 +03:00
Flavius Lacatusu 0b5032ffbb
fix: Add missing slash to che dashboard routes/ingress
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-08-17 16:12:26 +02: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
Anatolii Bazko cad643a6e5
fix: dashboard ingress configuration with custom cheHost (#856)
* Secure che-dashboard ingress with spec.server.cheHostTLSSecret

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-06-07 18:08:33 +03:00
Flavius Lacatusu 2905b674e9
Minor fixes
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-05-20 09:34:26 +02:00
Flavius Lacatusu b5feb52494
Fix dashboard component names depending on che flavor
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-05-19 15:43:39 +02:00
Flavius Lacatusu a90d651030
fix: Add common selector for che-dashboard
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-28 20:34:39 +02:00
Serhii Leshchenko 0353a4487e
Run dashboard as separate deployment (#684)
* Run dashboard in a dedicated deployment

* Add info how to fix go imports

* Include dashboard image into release process

* Regenerate CRD & manifests

* Update nightly bundle

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-04-21 21:37:12 +03:00