Commit Graph

107 Commits (7.14.x)

Author SHA1 Message Date
Mykola Morhun 8458673a49
Backport: Implement autodetetion for self-signed certificate flag (#309)
Backport: Implement autodecetion for self-signed certificate flag

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-06-16 12:04:49 +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
Michal Vala a85031793a
Option to enable che-server metrics endpoint (#117)
Signed-off-by: Michal Vala <mvala@redhat.com>
2019-11-28 23:05:28 +01:00
Max Shaposhnik 2a4d58d96f Align JGroups labels property name; 2019-11-22 09:42:46 +02:00
Max Shaposhnik 5688667048 Add environment variable for Jgroups labels; (#126) 2019-11-21 10:49:39 +01:00
David Festal d273007e7e Fix the Openshift OAuth provisioning for CRW, and move provisioning files (#122)
* Fix the oauth_provision file for CRW

- Replaces `jq` tool calls by equivalent `sed` calls
- Moves the `xxx_provision` files out of `deploy` (more for yamls) (should fix new issue https://issues.jboss.org/browse/CRW-482 at the same time)
- Replace a hard-coded value of the clientId (`che-public`) in the `token-exchange` feature on CRW
- Correctly enables the RHSSO preview features required for `token-exchange` (the way to activate them slightly differs from the upstream Che case)

Signed-off-by: David Festal <dfestal@redhat.com>
2019-11-15 11:40:40 +01:00
David Festal 6567346f54 Merge pull request #120 from eclipse/fix-jira-crw-455-fixup
fix: This is a fixup of PR #119 (Provide easier migration from 1.2 to 2.0)
2019-11-15 11:40:40 +01:00
David Festal 5a5ea30137 Provide easier migration from 1.2 to 2.0 (#119)
* put back `che` as default for consistency with doc
* Fix https://issues.jboss.org/browse/CRW-455
* Complete the cleaning correctly.

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

Conflicts:
	pkg/deploy/defaults.go
2019-11-15 11:40:40 +01:00
David Festal 9d32683d53 Fix jira issue CRW-468 (#115)
Signed-off-by: David Festal <dfestal@redhat.com>
Conflicts:
	pkg/deploy/extra_images.go
2019-11-15 11:40:40 +01:00
Lukas Krejci bed4e49e4c Support for the new way of specifying the workspace namespace in Che.
The default is still the current namespace if there is no oauth in the infra

With Openshift OAuth, the namespace is now "<username>-che" or
"<username>-codeready" depending on the che flavor.
2019-11-12 15:23:59 +02:00
David Festal 36e666c312
Release 7.4.0 (#118)
* Update default tags to `7.4.0`
* Release OLM files to `7.4.0`

Signed-off-by: David Festal <dfestal@redhat.com>
2019-11-12 13:55:36 +01:00
Ilya Buziuk caf722b98a che #14947 changing defaults for 7.3.1 release
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2019-10-31 08:45:34 +01:00
David Festal 502c589a06
Fix a test whose compilation has been broken... (#110)
... in a previous PR

Signed-off-by: David Festal <dfestal@redhat.com>
2019-10-30 10:32:06 +01:00