Commit Graph

50 Commits (6972d8948dcf4ea63aa7e8edebaf094d64c75518)

Author SHA1 Message Date
Anatolii Bazko 87cdb9e3c4
Code clean up part #1 (#730)
* Code clean up part #1

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-03-24 16:52:11 +02:00
Anatolii Bazko adfdb45556
Remove consolelink object when CheCluster is removed (#708)
* Remove cluster objects when CheCluster is removed

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-03-22 18:25:35 +02:00
Anatolii Bazko 4091005785
Replace `eclipse` organization occurrence on `eclipse-che` (#727)
* Replace eclipse organization occurrence on eclipse-che

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-03-22 12:32:48 +02:00
Oleksandr Andriienko 36edfbe887
Olm bundles for stable channel (#690)
* Create and use stable channel for OLM bundles.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-03-09 16:34:04 +02:00
Anatolii Bazko 052a637430
Che operator should be able to install DevWorkspace operator (#689)
* Che operator should be able to install DevWorkspace operator

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

* Fix typo

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

* Add missing roles

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

* Update cluster roles

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

* Update nightly bundle

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

* Fixes

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

* Add missing files

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

* Fixes

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

* Fix tests

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

* Add tests

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

* Update nightly bundle

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

* Improvements

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

* Add logs

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

* Fix test

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

* Fix tests

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

* Update nightly bundle

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

* Update clusterroles

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

* Update test

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

* Update test

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

* Update nightly bundle

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-03-04 21:59:34 +02:00
Anatolii Bazko 75da259f72
Allow to configure github and bitbucket oauth config (#677)
* Allow to configure github and bitbucket oauth config

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-02-17 14:32:04 +02:00
Anatolii Bazko 3259b49c01
Allows to deploy with default k8s secret (#674)
* Allows to deploy with default k8s secret

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-02-15 11:42:58 +02:00
Oleksandr Andriienko 74ebb5e88c Fix one bug.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-12 20:52:16 +02:00
Oleksandr Andriienko 471e2e5d5c Fix up.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-12 10:37:03 +02:00
Oleksandr Andriienko bd3fba2030 Work on review suggestions.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-11 12:49:58 +02:00
Oleksandr Andriienko 6e0d0c88b8 Improve code.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-10 19:56:04 +02:00
Oleksandr Andriienko 72285399fe Fix compilation. Update bundle.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-08 17:53:56 +02:00
Oleksandr Andriienko 05b87ba235 Merge remote-tracking branch 'upstream/master' into createInitialOpenshift4UserForOAuth 2021-02-08 17:15:28 +02:00
Oleksandr Andriienko 4ee509e08b
CHE-15493: <username>-che as default namespace (#166)
* Set  <username>-che as default namespace for Che workspaces

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-08 09:56:53 +02:00
Oleksandr Andriienko c6c7299a17 Merge remote-tracking branch 'upstream/master' into createInitialOpenshift4UserForOAuth 2021-01-28 17:20:35 +02:00
Oleksandr Andriienko 09ec50ec10
Update pkg/util/process.go
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-01-28 13:11:06 +02:00
Anatolii Bazko 49bf7c8635
Define Required Metadata Labels on deployment definitions (#603)
* Add default kubernetes labels

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-26 15:50:05 +02:00
Oleksandr Andriienko e1601f36c3 Fix format.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-26 00:16:26 +02:00
Oleksandr Andriienko b895518730 Add ability remove initial user. Fix tests: rework code to make it more testable.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-26 00:15:43 +02:00
Anatolii Bazko d5ea65afdd
Specify resources limits (#612)
* Specify resource limits

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-25 13:48:06 +02:00
Anatolii Bazko 482155b7e2
Automate the setup of github identity provider with internal keycloak (#589)
* GitHub identity provider provision

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-13 17:06:54 +02:00
Oleksandr Andriienko 4e096cfeb6 Add todo.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-12-27 22:27:25 +02:00
Oleksandr Andriienko 81d0cb603b Create initial Openshift 4 user for oAuth.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-12-27 21:36:33 +02:00
Oleksandr Andriienko ae79476106
Improve oauth handling. (#551)
* Improve oauth handling.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-12-21 10:38:37 +02:00
Oleksandr Andriienko 2ec4908294
Fix debugger for openshift cluster. (#488)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-10-09 13:04:16 +03:00
Serhii Leshchenko cc93735274
Refactor deploy package (#474)
* Move exposure logic to one place & Group deploy classes

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-10-05 17:34:43 +03:00
Lukas Krejci bda65a4e40
Manage the Traefik gateway for implementing single host on OpenShift (#378)
Co-authored-by: Michal Vala <michal.vala@gmail.com>
2020-09-16 15:21:57 +02:00
Anatolii Bazko 68764c888d
Use architecture dependent images (#398)
* Use architecture dependent images

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-08-10 09:01:22 +03:00
Anatolii Bazko 110149a5c7
Respect openshift cluster wide proxy (#272)
* Respect OpenShift cluster wide proxy

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-07-08 16:08:20 +03:00
Oleksandr Andriienko adfe698031
feature: Use image digest in csv (#274)
* Use image digest in the released csvs. Use correct image for e2e tests. Use correct operator image for olm tests.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-07-08 10:43:35 +03:00
Mykola Morhun aee5ca3567
Fix protocol removing for Java proxy opts (#315)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-06-19 09:07:17 +03:00
Anatoliy Bazko 4fa8121f76 Do not read env var specific to k8s infra
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-06-02 15:15:42 +03:00
Anatoliy Bazko 4ce1c473cb Update ssl_requires to NONE
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-29 15:11:12 +03:00
Mykola Morhun bc47b7b1af
Automate TLS secrets generation for Kubernetes family infrastructures (#220)
* Automate TLS secrets generation for Kubernetes family infrastructures

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-04-28 16:48:58 +03:00
Anatolii Bazko a8c155409d
Make che-operator non blocking (#212)
* Make che-operator non-blocking

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-04-10 17:19:14 +03:00
Anatolii Bazko fdaeb5e060
Store credentials into secrets instead of plain text of CheCluster CR fields (#198)
* Use secrets instead of plain text

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-25 09:57:36 +02:00
Anatolii Bazko 46c98c20e8
Enable to debug operator locally (#182)
* Enable to debug operator locally

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Co-authored-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-03-02 14:10:05 +02:00
Dmytro Nochevnov 557860435b
Order the map when converting it to a string (#133)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-11-27 11:48:47 +02:00
Max Shaposhnik 5688667048 Add environment variable for Jgroups labels; (#126) 2019-11-21 10:49:39 +01:00
Sergii Leshchenko 5552439b71 Make Che Operator create consolelink if it's supported
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-09-09 13:27:23 +03:00
David Festal 2f639261d8 Update to the `7.0.0-RC-2.0` release after some last fixes (#39)
* Make the OS 4 API url retrieval more robust

Signed-off-by: David Festal <dfestal@redhat.com>

* Fix a bug when removing openshift v4 provider

On Openshift arbitrary user mode.

Signed-off-by: David Festal <dfestal@redhat.com>

* Roll-update Keycloak when certificates changed

Signed-off-by: David Festal <dfestal@redhat.com>

* Don't loose the controller ref on Keycloak update

Signed-off-by: David Festal <dfestal@redhat.com>

* Remove the finalizer when disabling OS OAuth

Signed-off-by: David Festal <dfestal@redhat.com>

* Upgrade defaults to `7.0.0-RC-2.0`

Signed-off-by: David Festal <dfestal@redhat.com>

* fix wrong whitespaces

Signed-off-by: David Festal <dfestal@redhat.com>
2019-06-20 10:57:12 -04:00
David Festal 6665f3f468
Fix unnecessary cluster perm requirement (#37)
* Only create the OS API cert with OS OAuth
* Make some impl methods private

Signed-off-by: David Festal <dfestal@redhat.com>
2019-06-19 15:51:32 +02:00
David Festal fdd0f43d29
Support the new `openshift-v4` identity provider (#34)
* Support the new `openshift-v4` identity provider
* Add permissions for the Openshift v4 provider and reduce
the requested permissions to manage the OAuth client
2019-06-18 19:05:02 +02:00
Eugene Ivantsov 574b87c9a2
Auto fill non proxy with kube api url (#18) 2019-04-25 14:15:11 +03:00
Eugene Ivantsov 63787372bd
Get crt of OpenShift baseURL for Keycloak (#14)
* Get crt of OpenShift baseURL for Keycloak

* Don't fails when rolling out router deployment
2019-04-19 14:40:49 +03:00
Eugene Ivantsov 9dc8a3c50b
Add finalizers. Make storageclass configurable. More tests (#12)
* Add finalizers. Make storageclass configurable. More tests

* Fix logs
2019-04-09 16:03:51 +03:00
Eugene Ivantsov 5c107c2e79
Fix small errors. Update Dockerfile (#7) 2019-04-02 18:19:47 +03:00
Eugene Ivantsov 32b8e15939 Update to 0.5.0. Use CRDs 2019-03-20 09:33:06 +02:00
Eugene Ivantsov 8432ba2998 Remove all 2019-03-19 15:58:04 +02:00
Eugene Ivantsov 914e92e4e6
OpenShift/K8S Operator (#3)
* Vendor dependencies

* OpenShift/K8S Operator

* Disable ssl for realm by default

* Fix ssl for realms. Create view role
2019-01-30 11:54:38 +02:00