Commit Graph

238 Commits (3141f09a484614fa1ee93bb87dc4e251ff69782b)

Author SHA1 Message Date
Anatolii Bazko 2fb2314f22
fix: Reuse ServiceDefaultDiffOpts for gateway service (#950)
* fix: Reuse ServiceDefaultDiffOpts for gateway service

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-20 14:08:37 +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
Anatolii Bazko ac0bd56e41
feat: enable internal cluster SVC names usage by default (#919)
* feat: enable internal cluster SVC names usage by default

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-15 17:21:00 +03:00
Anatolii Bazko fb1f238ff4
fix: adds nginx.org/websocket-services annotation for che ingress (#921)
* fix: adds nginx.org/websocket-services annotation for che ingress

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-15 14:53:22 +03:00
Anatolii Bazko e29484fd45
fix: setting keycloak system properties for rh-sso (#928)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-14 21:00:43 +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
Sergii Leshchenko 78e5dbaa0c fix: make che operator take into account DWO Service 2021-07-13 09:27:04 +03:00
Michal Vala b9ccdb73d8
feat: native user authentication (#861)
Signed-off-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-07-02 16:11:58 +02:00
Lukas Krejci 1f1a41f9b3
feat: Don't deploy CheManager - it no longer is a thing. (#868)
Remove the CRDs that we don't have to deploy. CheManager is not used
at all anymore and DevWorkspaceRouting is deployed at runtime while
enabling the devworkspaces. DWCO waits for the CRD to appear.

Don't deploy the DWCO metrics service anymore because the metrics
endpoint is switched off anyway.

Trivial - remove the unneeded serialized storage annotations on checluster
objects of different versions.

The cluster role must grant the operator the perms to update status
of the checluster resource.
2021-07-02 00:28:32 +02:00
Anatolii Bazko 65e3cac0a8
feat: Run DWCO and CO in a same pod but different containers (#745)
Co-authored-by: Lukas Krejci <lkrejci@redhat.com>
2021-07-01 22:36:56 +02:00
Flavius Lacatusu 53080561df
fix: Fix image puller reconcile infinite loop when checluster image puller deployment name and configmap name are empty
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-06-25 10:45:20 +02:00
Mykola Morhun 67dd98d2f9
Implement backup / restore of Che server (#844)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-06-22 13:24:06 +03:00
Anatolii Bazko 0b4fef03e8
fix: reconcile ingress/route when annotations changed (#862)
* fix: reconcile ingress/route when annotations changes

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-06-11 10:54:18 +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
Anatolii Bazko c8a9da5bc1
feat: Configure external devfile registries urls (#845)
* Configure external devfile registries urls

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-28 11:18:22 +03:00
Anatolii Bazko 17cc64b122
Reworked server synchronization (#813)
* Refactor server provisioning

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-21 09:21:01 +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
Anatolii Bazko d93e5e7320
Che Operator updates DWO and DWCO resources (#832)
* Che Operator updates DWO and DWCO resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-19 14:07:30 +03:00
Anatolii Bazko 482def21cc
Configure keycloak by setting -Dkeycloak.connectionsHttpClient.default.expect-continue-enabled=true and -Dkeycloak.connectionsHttpClient.default.reuse-connections=false (#835)
* Set keycloak.connectionsHttpClient.default.* system properties

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-19 11:18:01 +03:00
Anatolii Bazko 07c4f74f04
Do not allow to upgrade che 7.31 or later to upgrade installation that configured with namespace strategies other than "per user" (#818)
* Don't support another than per-user strategy

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-12 15:53:06 +03:00
Anatolii Bazko c859791485
Use internal API url to provision OpenShift OAuth identity provider (#814)
* Use internal API url to provision OpenShift OAuth identity provider

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-11 13:18:54 +03:00
Anatolii Bazko fccad9f91e
Expose DWO and DWCO images in CSV as RELATED_IMAGE_* env vars (#815)
* Expose DWO and DWCO images in CSV as RELATED_IMAGE_* env vars

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-07 12:15:55 +03: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
Max Shaposhnik 7de21268be
Fix redirect URL-s for Che-public client to allow factory redirects; 2021-04-27 13:55:32 +03:00
Max Shaposhnik 4b3e489283 Code fixup 2021-04-26 16:19:01 +03:00
Anatolii Bazko 219f7e2a8c
Add `/auth` path to external identity providers url (#800)
* Add /auth to external identity providers urls

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-26 14:39:41 +03: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
Max Shaposhnik 188fe32ef4 Fmt fix 2021-04-21 14:51:05 +03:00
Flavius Lacatusu 744acc1988
Fix DWO deployment in minikube (#789)
* Check `chemanagers` and `subscriptions` resources existence before requesting API.
* Fix bug with reading objects from FS

Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-21 14:11:11 +03:00
Max Shaposhnik ceaeae1218 Fix 2021-04-21 11:54:34 +03:00
Anatolii Bazko 3d21dcc0d8
Switch to CRD v1 by default (#768)
* generate CRD v1
* keeps old CRD v1beta1 for OCP 3.11
* adopts scripts
* removes old bundles

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-21 08:57:11 +03:00
Max Shaposhnik 86246b3c09 Fixup 2021-04-20 18:56:51 +03:00
Max Shaposhnik 61e4256aa2 Add update script 2021-04-20 17:01:46 +03:00
Anatolii Bazko 0d0056bb7a
Use CRD v1 of DWCO resources (#788)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-20 11:31:34 +03:00
Anatolii Bazko f84b5cb1a3
Remove OpenShift OAuth user when Eclipse Che is removed (#769)
* create openshift-oauth-user-credentials secret in openshift-config namespace instead of eclipse-che
* removes initial user when Eclipse Che is removed

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-20 10:11:18 +03:00
Anatolii Bazko 546e10651f
Delegate namespaces editor roles to `che` service account (#772)
* Delegate namespaces editor roles to che service account

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-17 08:57:35 +03:00
Anatolii Bazko 31b52f41eb
Replace references from master to main branches (#784)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-16 12:22:39 +03:00
Anatolii Bazko e6491cc323
Code clean up 4 (#761)
* Refactoring plugin and devfile registries

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-13 11:18:15 +03:00
Serhii Leshchenko 78d3585b7c
Refactor exposure to have an ability share host among components (#760)
* Refactor exposure to have an ability share host among components

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

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-04-09 12:09:59 +03:00
Anatolii Bazko 268899efa6
Fix getting exposure strategy in case of k8s (#766)
* Fix getting exposure strategy in case of k8s

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-09 10:33:15 +03:00
Anatolii Bazko 236f7ab5de
Add GitHub action to validate source code (#762)
* Add GitHub action to validate source code

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-09 09:55:33 +03:00
Flavius Lacatusu 31accc125a
Merge pull request #731 from eclipse-che/dwo_sh
feat: Implement Single Host when devworkspace it is enabled
2021-04-08 14:05:57 +02:00
Anatolii Bazko fa39d6f79e
Code clean up 3 (#753)
* Code clean up part 3

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-07 14:55:14 +03:00
Flavius Lacatusu d0b919e001
Merge branch 'master' into dwo_sh
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-07 10:03:22 +02:00
Lukas Krejci 92d317caf5
Use v1beta1 api for the chemanager crd. (#757)
* Fixes eclipse/che#19500. Use v1beta1 api for the chemanager crd.

* Update olm.
2021-04-07 10:49:01 +03:00
Anatolii Bazko 127918ab6d
Improve reconciling crb finalizers (#756)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-07 09:05:17 +03:00
Flavius Lacatusu 9c22b46a46
fix suggestions
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-06 12:31:05 +02:00
Flavius Lacatusu b12b6e505f
Merge branch 'master' into dwo_sh
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-05 11:56:47 +02:00
Oleksandr Andriienko 4b87fd321e
Change default pvc to 10G. (#739)
* Change default pvc to 10G.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-04-05 09:45:11 +03:00