Commit Graph

118 Commits (7.17.x)

Author SHA1 Message Date
Anatolii Bazko 08c51a4e11
Ignore the error if test route already exists (#383)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-08-04 14:39:43 +03:00
Anatolii Bazko 9ed6e3789e
Remove secrets when checluster is removed (#379)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-08-03 10:59:53 +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 006304de41
Update the configmap property name (#356)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-07-23 14:21:09 +03:00
Anatolii Bazko 26c69782bd
Use the default ingress strategy if there is no value in CR (#346)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-07-16 11:16:02 +03:00
Anatolii Bazko 96916bb790
Add truststore config map name to che config map (#344)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-07-15 18:39:32 +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
Max Shaposhnik ec7e316c2e Added test check 2020-07-09 09:31:40 +03:00
Max Shaposhnik 38599b0e95 Add property to allow use authenticator for proxies; 2020-07-08 23:16:18 +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 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 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 dbf0fca9c3 Fix certs paths
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-06-02 10:40:36 +03:00
Anatoliy Bazko df91fa33c7 Propogate custom CA certificate into Keycloak trust store
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-29 16:33:25 +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
Anatoliy Bazko b9942aacff Move defaults to env var
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-13 08:19:17 +03:00
Anatoliy Bazko 69a6007c56 Update make-release.sh, set nightly tags for master
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-07 13:34:52 +03:00
Anatoliy Bazko 5f8d79810c Port 7.12.1 csv to master
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-02 15:48:52 +03:00
Sergii Kabashniuk 25c9bdb853
More effective usage of heap && Make Che server JAVA_OPTS sutable for Java 8 and Java 11 (#224)
For 1 GB container 842.94M  instead of 455.50M

docker run -m 1GB openjdk:8u242-jre-slim java \
          -XX:MaxRAMPercentage=85.0 \
          -XshowSettings:vm \
          -version
VM settings:
    Max. Heap Size (Estimated): 842.94M
    Ergonomics Machine Class: server
    Using VM: OpenJDK 64-Bit Server VM

openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)

docker run -m 1GB openjdk:8u242-jre-slim java \
         -XX:MaxRAMFraction=2 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -Xms20m \
          -XshowSettings:vm \
          -version
VM settings:
    Min. Heap Size: 20.00M
    Max. Heap Size (Estimated): 455.50M
    Ergonomics Machine Class: server
    Using VM: OpenJDK 64-Bit Server VM

openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
2020-04-30 15:31:05 +02: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 e655435d5d
Release version 7.12.0 (#228)
* Update defaults tags to 7.12.0

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

* Update nightly olm files

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

* Release OLM files to 7.12.0

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

* Fix release script

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-04-24 14:14:20 +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 facc487a94
Take `WorkspaceNamespaceDefault` into account ... (#217) (#218)
... even when OpenShift OAuth is enabled

This fixes issue https://github.com/eclipse/che/issues/16574

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

Co-authored-by: David Festal <dfestal@redhat.com>
2020-04-09 16:42:42 +03:00
Anatolii Bazko bbc7579a55
Release version 7.11.0 (#215)
* Update defaults tags to 7.11.0

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

* Update nightly olm files

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

* Release OLM files to 7.11.0

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

* Fix olm.sh

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

* Minor fixes of the release process

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-04-08 10:35:51 +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 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
Mykola Morhun 896d651e3c
Set default Che secret name in Che server config map if tlsSecretName is not specified in CR (#194)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-03-13 17:44:00 +02:00
Mykola Morhun 716852f8a0
Refactor setting of tlsSecretName in NewIngress (#193)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-03-13 12:43:44 +02:00
Mykola Morhun 347e4c9038
Fallback to default Che secret name if none is given in case of turned on tls (#191)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-03-13 10:58:11 +02:00
Nick Boldt 682e4f14b4
bump to latest... (#181)
* bump to latest registry.access.redhat.com/ubi8-minimal:8.1-398

Change-Id: I5a648aba1bca8c9dbacdff0bcf4722684d27a78a
Signed-off-by: nickboldt <nboldt@redhat.com>

* run olm/update-nightly-olm-files.sh to generate fresh 9.9.9 csvs and diffs

Change-Id: I623fc973285cbdc0548143abe90e4df7f108dff4
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-03-04 12:07:28 -05: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
Nick Boldt 152758c9f6
fix crw defaults in master (#168)
* fix crw defaults in master

Change-Id: I4d25360545e8ff84db784d425e661b6b1b171861
Signed-off-by: nickboldt <nboldt@redhat.com>

fix copyright

Change-Id: Ibff9f5be558efc451975e326c4dc4713cb69fac5
Signed-off-by: nickboldt <nboldt@redhat.com>

* update to latest base

Change-Id: I17d578b8a73b905399434888831124f7986de829
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-02-07 01:47:12 -05:00
Anatolii Bazko 5039e1fdb2
Disable readiness probe in case of debug Eclipse Che Server (#160)
* Disable readeness probe in case of debug

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-02-04 11:11:42 +02:00
Anatolii Bazko 64a5ea9cad
Release 7.8.0 (#163)
* Release 7.8.0

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

* Update pkg/deploy/defaults.go

Co-Authored-By: David Festal <dfestal@redhat.com>

* Update pkg/deploy/defaults.go

Co-Authored-By: David Festal <dfestal@redhat.com>

Co-authored-by: David Festal <dfestal@redhat.com>
2020-02-03 15:47:48 +02:00
Tom George fe7335f03b Wording corrections
Signed-off-by: Tom George <tg82490@gmail.com>
2020-01-22 16:29:03 +01:00
Tom George db270e0b78 Add the debug port to che-host svc to expose the debug port
Signed-off-by: Tom George <tg82490@gmail.com>
2020-01-22 16:29:03 +01:00
Anatoliy Bazko 681cd9a87f Update images to point to quay.io
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-01-20 14:12:20 +02:00
Anatoliy Bazko 3911a7d0a1 Update default tags to 7.7.1
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-01-20 12:29:59 +02:00
David Festal 60eff6baf2 Update default tags to `7.7.0`
Signed-off-by: David Festal <dfestal@redhat.com>
2020-01-11 12:14:36 +01: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
Ilya Buziuk a836db8567 che #15504 Release '7.6.0' - update defaults.go files
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2019-12-20 16:46:05 +01:00
David Festal df0be398ef
Release 7.5.1 (#138)
* Update default tags to `7.5.1`
* Release OLM files to `7.5.1`

Signed-off-by: David Festal <dfestal@redhat.com>
2019-12-11 16:47:45 +01:00
Michal Vala 8ee9b4ea58
Support workspace namespace configuration (#136)
Signed-off-by: Michal Vala <mvala@redhat.com>
2019-12-04 14:30:24 +01:00
Michal Vala f94a7a46f5
add missing license headers (#135)
Signed-off-by: Michal Vala <mvala@redhat.com>
2019-11-29 10:28:36 +01:00