Commit Graph

283 Commits (d2ab5bb0efd3dea0e158d29ba6cffca178f22beb)

Author SHA1 Message Date
flacatus d2ab5bb0ef
Update OLM installation version
Signed-off-by: flacatus <flacatus@redhat.com>
2020-05-06 10:31:07 +02:00
Anatolii Bazko b0a62e0f4d
Merge pull request #235 from nickboldt/fixup-org_v1_che_cr.yaml-doc
fix doc in org_v1_che_cr.yaml: version of...
2020-05-05 08:17:14 +03:00
nickboldt 140a030ab7 point to actual place where hardcoded default lives
Change-Id: If93c26307caf1a3ff0a44490d47435eb5b6b361d
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-05-04 14:29:35 -04:00
Anatolii Bazko 31c20e1f6c
Merge pull request #237 from eclipse/ab/fixmaster
Port 7.12.1 csv to master
2020-05-04 08:31:05 +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
nickboldt c4ef964aa2 fix doc in org_v1_che_cr.yaml: version of registry.redhat.io/rhscl/postgresql-96-rhel7 used is NOT in pkg/deploy/defaults.go, but in the operator metadata CSV now
Change-Id: I8c0630b86fe78d5e7f3869b82a0633bb3b9d2174
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-05-01 12:06:33 -04: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 d46d9ad753
Update release script (#227)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-04-24 08:05:49 +03:00
Anatolii Bazko 7d94f6a136
Fix release script (#226)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-04-24 07:53:52 +03:00
Flavius Lacatusu 4e401c5d7d
Add extra checks to operator to check generated code and nightly files (#219)
* Add extra checks to operator to check generated code and nightly files

Signed-off-by: flacatus <flacatus@redhat.com>
2020-04-23 10:35:53 +03:00
Oleksandr Andriienko e976064e18
Add devfile. (#222)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-04-17 09:28:09 +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
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
Nick Boldt 5ca80ead77
[base] Update from ubi8-minimal:8.1-398 to ubi8-minimal:8.1-409 (#216)
Change-Id: I0e11d840e7b6746cb5356c9552623f978a506520
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-04-07 17:59:51 -04:00
Nick Boldt 3a6454ffa8
CRW-579 don't include dupe entries; if not quiet, echo contents of digests-mapping.txt; add --tls-verify=false when doing skopeo inspect (#213)
Change-Id: I4599c0929e13db76b19750066cd6aedc3ea8eb3b
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-03-31 09:11:27 +03:00
Anatolii Bazko bea015a2b7
Fix secret creation in csv (#210)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-26 12:00:58 +02:00
Nick Boldt fbe3c1fd19
CRW-563 improve generation of digests from tags in registries and operator (#206)
* implement overwriting csv with generated digests and related images; add tags as comments into sources too; support a quieter console mode; if podman not installed fall back to docker

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

* do not use dockerContainerExtract.sh -- not required; support a quieter console mode; if podman not installed fall back to docker; allow secondary level of skopeo inspection (for Brew images not yet in RHCC or any other additional parsing rules)

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

* if podman not installed fall back to docker; slighly noisier console ouptu while pulling images (long operation)

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

* in case we already have digests in the csv for the registries, replace them with :VERSION tag (so we can rebuild Brew stuff for Quay)

Change-Id: I973f0433fedbbda49235da20229ea982c91e53f4
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-03-26 10:43:12 +02:00
Flavius Lacatusu da8e64f61a
Fix olm minishift installation (#211)
* Improve minikube installation in ci.centos

Signed-off-by: flacatus <flacatus@redhat.com>
2020-03-26 09:02:25 +02: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
Flavius Lacatusu d0ecec4c9a
Add minikube installation without vm-driver (#190)
* Improve minikube installation in ci.centos

Signed-off-by: flacatus <flacatus@redhat.com>
2020-03-25 10:38:56 +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
aditi_jadhav 1090732dff
Added support for s390x (#203)
Signed-off-by: aditi jadhav <aditi.jadhav@ibm.com>
2020-03-23 09:20:23 +02:00
Anatolii Bazko 5cd472abcd
Duplicate Dockerfile in the build directory (#204)
* Duplicate Dockerfile in the build directory

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-20 13:41:52 +02:00
Nick Boldt f902230f48
CRW-579 add three new scripts for adding digests, building map of digests in registries, and introspecting containers (including scratch ones) to extract files (#202)
* add three new scripts for adding digests, building map of digests in registries, and introspecting containers (including scratch ones) to extract files

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

* shell scripts should be +x

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

* Check if podmand and yq are installed

* switch to docker by default olm/dockerContainerExtract.sh

* Use --wildcards

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2020-03-19 18:53:51 +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
Anatolii Bazko f91259b228
Update RELEASE.md (#196)
* Update RELEASE.md

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-16 14:48:45 +02:00
Anatolii Bazko 9fce59a932
Release 7.10.0 (#195)
* Update defaults tags to 7.10.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.10.0

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-16 13:49:39 +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
Mykola Morhun d92ad728ba
Set tlsSupport to true by default (#186)
* Set tlsSupport to true by default

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>

* Update nightly olm files

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

Co-authored-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-09 11:53:14 +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
Flavius Lacatusu 3efd9a274e
Add github token for minishift installation (#184)
* Add github token for minishift installation

Signed-off-by: flacatus <flacatus@redhat.com>
2020-03-04 13:27:02 +02:00
Igor Vinokur f288238f37
Propagate custom public certificates to volume mount (#171) 2020-03-04 10:53:33 +02:00
Oleksandr Andriienko d2585b655f
Improve debug configuration. Add debug binary to .gitignore (#183)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-03-04 10:30:42 +02:00
Flavius Lacatusu d416857421
Implement OLM operator tests on PRs (#177)
* create testCatalog source file and add logic to support installation of custom catalog for kubernetes

Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-03-02 14:57:50 +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
Anatolii Bazko b001254b02
Add script to update cr/crd files (#180)
* Add script to update cr/crd files

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-02-26 11:15:14 +02:00
Anatolii Bazko e1c8c87399
Release 7.9.0 (#179)
* Update defaults tags to 7.9.0
* Update nightly olm files
* Release OLM files to 7.9.0

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-02-24 16:46:39 +02:00
Ilya Buziuk 923ce223a0 Adding EPL 2.0 LICENSE file 2020-02-24 11:17:49 +01: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
Oleksandr Andriienko 41f00fff31
Merge pull request #170 from eclipse/fixAccidentallyBrokenScript
Fix accidentally broken script
2020-02-11 09:43:02 +02:00
Oleksandr Andriienko 9f53ada82f Fix accidentally broken script
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-02-11 09:35:29 +02:00
Oleksandr Andriienko 29198304be
Merge pull request #169 from eclipse/fixTypo
Minor: Fix little typo.
2020-02-07 15:18:30 +02:00
Oleksandr Andriienko 8d62067c2c Fix little typo.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-02-07 14:32:20 +02:00