Commit Graph

87 Commits (1624742e3f9ebd2234b60e2ce5dcef03bb445977)

Author SHA1 Message Date
Michal Vala 6bf5c65a44
feat: Traefik plugin for header rewrite in nativeUserMode (#938)
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-07-21 13:43:32 +02:00
Oleksandr Andriienko f555494a7d
feat: Newer operator sdk (#826)
* Define new dependencies. Update vendor folder. Use newer operator sdk v1.7.1.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-07-19 14:29:11 +03:00
Michal Vala b9ccdb73d8
feat: native user authentication (#861)
Signed-off-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-07-02 16:11:58 +02:00
Mykola Morhun 67dd98d2f9
Implement backup / restore of Che server (#844)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-06-22 13:24:06 +03:00
Anatolii Bazko 0b4fef03e8
fix: reconcile ingress/route when annotations changed (#862)
* fix: reconcile ingress/route when annotations changes

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-06-11 10:54:18 +03:00
Anatolii Bazko d93e5e7320
Che Operator updates DWO and DWCO resources (#832)
* Che Operator updates DWO and DWCO resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-19 14:07:30 +03:00
Anatolii Bazko fccad9f91e
Expose DWO and DWCO images in CSV as RELATED_IMAGE_* env vars (#815)
* Expose DWO and DWCO images in CSV as RELATED_IMAGE_* env vars

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-07 12:15:55 +03:00
Serhii Leshchenko 0353a4487e
Run dashboard as separate deployment (#684)
* Run dashboard in a dedicated deployment

* Add info how to fix go imports

* Include dashboard image into release process

* Regenerate CRD & manifests

* Update nightly bundle

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

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-04-21 21:37:12 +03:00
Anatolii Bazko 3d21dcc0d8
Switch to CRD v1 by default (#768)
* generate CRD v1
* keeps old CRD v1beta1 for OCP 3.11
* adopts scripts
* removes old bundles

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-21 08:57:11 +03:00
Oleksandr Andriienko 4b87fd321e
Change default pvc to 10G. (#739)
* Change default pvc to 10G.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-04-05 09:45:11 +03: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
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 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
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
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
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 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
Nick Boldt 227046459c
fix: Revert "CRW-1254 can we use the standard ubi URLs" (turns out no, it breaks stuff); also bump versions to 7.20.0-13.nightly (#494)
* Revert "CRW-1254 can we use the standard,... (#484)"

This reverts commit c5ab66b099.

* bump versions to 7.20.0-13.nightly

Change-Id: I7006cbb4676157e0837e1cd5df702c4165bb5c91
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-10-13 12:06:49 -04:00
Nick Boldt c5ab66b099
CRW-1254 can we use the standard,... (#484)
* CRW-1254 can we use the standard, non-deprecated registry registry.redhat.io instead of registry.access.redhat.com for ubi minimal images? also we should use the safer path /ubi8/ubi-minimal vs. /ubi8-minimal so that OCP 4.x airgap mirroring works

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

* revert to registry.access.redhat.com, but keep ubi8/ubi-minimal instead of ubi8-minimal

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

* include generated che-operator.clusterserviceversion.yaml files thanks to ./olm/update-nightly-bundle.sh and operator-sdk 0.10.1

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

* Update csv files

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

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2020-10-07 10:32:29 +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
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 b9942aacff Move defaults to env var
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-13 08:19:17 +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 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 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 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 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 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
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 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
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
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