Commit Graph

252 Commits (df77efdaee240e3c32742ef2d05d15364e7eb0db)

Author SHA1 Message Date
Oleksandr Andriienko df77efdaee
fix: Don't set public url value to internal url settings. (#891)
* Don't set public url value to internal url settings.  Remove outdated websocket minor code.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-08-03 10:22:45 +03:00
Flavius Lacatusu 8d90bb1419
Merge pull request #890 from eclipse-che/dwo_dep
feat: Add DevWorkspace as a dependency in che operator
2021-07-28 14:20:51 +02:00
Flavius Lacatusu 1624742e3f
fix suggestions
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-07-28 14:19:28 +02: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
Flavius Lacatusu f8e05779f8
fix: update unit tests and update e2e description
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-07-27 15:23:21 +02:00
Anatolii Bazko 4e5ffb8132
build: Enable Image Puller for tests (#960)
* build: Enable Image Puller for tests

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-27 09:35:55 +03:00
Flavius Lacatusu e63f5fda5d
fix suggestions
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-07-26 20:24:48 +02:00
Flavius Lacatusu 7f37ea2768
feat: Add initial commit of DWO olm deps
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-07-26 12:37:32 +02:00
David Kwon 2e41ee4388 Rename variables, handle duplicate code
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-07-22 15:34:27 +02:00
David Kwon 2073d94407 Use GetImageNameAndTag, create tests, change variable names
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
Sergii Kabashniuk 727141e3d4
feat: Devworkspaces on K8s (#935)
* Devworkspaces on K8s

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

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-07-21 19:00:09 +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
Michal Vala 6bf5c65a44
feat: Traefik plugin for header rewrite in nativeUserMode (#938)
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-07-21 13:43:32 +02:00
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