Commit Graph

89 Commits (4ee509e08b1fadcf6550f6b0f6a70360b0bc1d5e)

Author SHA1 Message Date
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
Anatolii Bazko 84b955398d
Add .svc to no proxy (#659)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-02-02 19:17:42 +02:00
Oleksandr Andriienko add393c29c
Fix external identity provider, external plugin and devfile registry with enabled internal network in CR. (#650)
* Fix external identity provider, external plugin and devfile registry with enabled internal network in CR.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-28 15:46:07 +02:00
Anatolii Bazko fbe9a3ecd4
Fix proxy and internal hostname case (#646) (#649)
* Fix proxy and internal hostname case

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-28 09:20:16 +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
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 ceef6e0a7b
Fix test failing for CRW (#621)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-11 18:11:32 +02:00
Anatolii Bazko 42684b836f
Mount secrets in containers (#595)
* Mount secrets in containers

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-12-24 12:25:01 +02:00
Oleksandr Andriienko e373bc7a0f
Use test operator image in the CSV. (#594)
* Use test operator image in the CSV.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix wrong link.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-12-22 20:10:46 +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
Tom George a6848bf1b6
install kubernetes image puller/kip operator from che-operator (#541)
* Allow the che-operator to install the Kubernetes Image Puller operator and configure a KubernetesImagePuller CR in the same namespace that che is installed in.

Adds a new field to the CheCluster CR, imagePuller, that will install the operator and create a CR if enabled.  If disabled, it will uninstall and remove the image puller artifacts.

Signed-off-by: Tom George <tgeorge@redhat.com>
2020-12-08 08:53:24 -06:00
Michal Vala cd239ce7a4
Gh18399 che SA cluster roles (#543)
Signed-off-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2020-12-02 18:03:11 +01:00
Mykola Morhun 3d9c611522
Implement addition CA config maps merge and propagation to Che server (#531)
Implement CA certs sources merge and propagate resulting config map to Che server

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-11-27 15:04:33 +02:00
Oleksandr Andriienko 73d951b3f3
Add ability to use internal network for Keycloak (#507)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-11-26 17:26:56 +02:00
Lukas Krejci b103569906
Refresh oauth client (#550)
Fixes eclipse/che#17886 Update the OAuthClient each time there is a change.
2020-11-26 15:53:41 +01:00
Oleksandr Andriienko 73053b2bc4
Provide internal network urls for plugin registry, devfile registry and internal che api endpoint url. (#468)
* Provide internal network urls for plugin, devfile registries and internal che api endpoint url.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-11-26 13:54:26 +02:00
Valeriy Svydenko 2e0bfecd45
Add metrics role and extend view role (#519)
* Extend view role. Add a role for metrics api

Signed-off-by: svor <vsvydenk@redhat.com>
2020-11-23 10:51:26 +02:00
Tom George 24fb122aa8
Operator sdk 0.15.2 (#515)
Upgrade che-operator to use operator-sdk version 0.15.2 APIs, and newer kubernetes APIs

Signed-off-by: Tom George <tgeorge@redhat.com>
2020-11-11 11:15:55 -06:00
Mykola Morhun 390b3fe061
Implement ability to use default ingress TLS certificate (#508)
Implement ability to use default ingress TLS certificate
2020-11-06 14:51:42 +02:00
Oleksandr Andriienko 7e30a55014
Fix tests for upstream project (#499)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-10-20 09:21:55 +03:00
Anatolii Bazko 47a01d7276
Automatically propagate ca-certs configmap content into server and identity provider (#487)
* Automatically propagate serverTrustStoreConfigMap context to server and identity provider

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-10-13 14:04:20 +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
Anatolii Bazko dbb2c61b6f
Add test for defining labels for routes (#477)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-09-29 09:51:39 +03:00
Anatolii Bazko 37e6a9d18f
Define labels for route/ingress (#449)
* Define labels for route/ingress

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-09-25 14:17:19 +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
Flavius Lacatusu dad5e5fa84
Merge pull request #420 from flacatus/refactor_func
Create a general deployContext to pass to all functions instead of pass numerous arguments
2020-08-28 14:31:52 +02:00
Flavius Lacatusu ed6594528c
Create a general deployContext to pass to all functions
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-08-27 11:30:20 +02:00
Anatolii Bazko 53ada568c7
Update link to point to latest doc (#416)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-08-26 13:26:58 +03:00
Anatolii Bazko bcf77d451b
Allow to customize cheHost (#380)
* Allow to customize cheHost

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-08-12 11:21:01 +03:00
Anatolii Bazko c64d61faf4
Allow to use external PostgreSQL (#371)
* Allow to use exteranl PostgreSQL

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-07-30 09:06:27 +03:00
Anatolii Bazko b193773469
Fix deployment Eclipse Che with single-host strategy (#341)
* Fix deployment Eclipse Che with single-host strategy

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-07-15 16:20:44 +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
Mykola Morhun 912fd52fc4
Implement autodetetion for self-signed certificate flag (#301)
Implement autodecetion for self-signed certificate flag

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-06-15 11:01:46 +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
Anatoliy Bazko d6dcc1864e Revert "Merge pull request #273 from eclipse/sslrequired"
This reverts commit 1a274ab172, reversing
changes made to a0f108dcac.
2020-05-27 15:22:23 +03:00
Anatoliy Bazko eb57944cc1 Update keycloak db to turn sslRequird to none
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-22 12:36:20 +03:00
Oleksandr Andriienko 03978b3724
fix: Check identity providers for oauth instead of check amount users. (#248)
* Back off openshift oauth, when oauth can't be used

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Use freezed go modules.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add newer olm bundle.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-05-15 11:43:58 +03:00
Anatoliy Bazko b9942aacff Move defaults to env var
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-13 08:19:17 +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
Mykola Morhun 56c6806b20
Add Che CR validator (#221)
* Add Che CR validator

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-04-16 15:03:10 +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
Oleksandr Andriienko bceab0fa42
Add error status if operator hasn't got permission to count users. (#208)
* Add error status if operator hasn't got permission to count users.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add proposed changes.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-03-25 17:01:37 +02: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 0952fa99a3
Port changes from 7.9.x to master (#201)
* Always add the devfile registry public URL env var (#192)

This fixes the [CRW-710](https://issues.redhat.com/browse/CRW-710) blocker JIRA  bug (blocking CRW 2.1 release)

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

* Correctly propagate proxy settings in the operator and Keycloak  (CRW-709) (#200)

* Correctly propagate proxy settings in the operator and Keycloak .This fixes issue https://issues.redhat.com/browse/CRW-709

* Use the same Go release in PR checks as in the main Docker file to avoid a syntax arror in the PR check jobs

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

* Refactoring

Co-authored-by: David Festal <dfestal@redhat.com>
2020-03-19 11:12:39 +02:00
Anatolii Bazko 016e7f11cd
Support single-user mode (#185)
* Support single-user mode

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-17 09:29:53 +02:00
Igor Vinokur f288238f37
Propagate custom public certificates to volume mount (#171) 2020-03-04 10:53:33 +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
Oleksandr Andriienko e9c5d3f312
feat: Remove image refs in `defaults.go` and replace by env vars (#172)
* Move image related default variables to the operator env.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix tests.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Use the same env name for CRW and Upstream Che

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Clean up.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Improve most che-operator env names

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Use cheImage instead of repo only in the envs. Rename cheImageTag to cheVersion.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add forgotten che-image tag to IMAGE_default_che_server

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add some logic for back compatibilty with Che 7.8.0

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Handle one of the realese scripts.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix GetFullCheServerImageLink

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

* Remove extra_images.go

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

* Fix tests

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

* Improve release scripts.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add docker images env to operator-local.yaml

Signed-off-by: flacatus <flacatus@redhat.com>

* Che 15874 - fix wrong docker images and update olm files (#174)

* Fix wrong docker images values

The docker images set in this GH repo should be the upstream ones,
not the CRW ones

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

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Flavius Lacatusu <59865209+flacatus@users.noreply.github.com>
Co-authored-by: David Festal <dfestal@redhat.com>
2020-02-18 10:17:21 +02:00
Igor Vinokur c6737105d6
Support git self-signed SSL certs (#142)
Add new boolean property gitSelfSignedCertthat applies environment variables that contain SSL certificate and git host written from che-git-self-signed-cert config map.
The same logic is applied for the helm deployment: eclipse/che#15218

fixes eclipse/che#15285

Docs PR: eclipse/che-docs#1001

Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2019-12-26 10:23:11 +02:00