Commit Graph

184 Commits (a6848bf1b6d140649abf67c2d380de8d2ef8afdd)

Author SHA1 Message Date
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
Oleksandr Andriienko 8b4a5e076f
Fix outdated README file and add development notes (#553)
* Fix outdated README file. Add more useful development info.

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

Co-authored-by: Flavius Lacatusu <flacatus@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Yana Hontyk <yhontyk@redhat.com>
2020-12-01 14:42:49 +02: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
Anatolii Bazko 7ccd18d34d
Add codeready user readonly theme (#540)
* Add codeready user readonly theme

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-11-19 17:49:28 +02:00
Oleksandr Andriienko 4c194ddeb5
fix: Fix scripts and che-types to use newer operator-sdk (#533)
* fix: Fix scripts and che-types to use newer operator-sdk

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-11-17 11:38:34 +02:00
Oleksandr Andriienko 82c0b2bb1d
Recovery licence headers for some files. (#534)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-11-17 09:45:27 +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
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
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
Oleksandr Andriienko 2ec4908294
Fix debugger for openshift cluster. (#488)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-10-09 13:04:16 +03: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
Vitalii Parfonov 6953a195ed
Add keycloak admin username and password to the che deployment (#446)
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2020-10-01 16:16:50 +03:00
Anatolii Bazko 87c0b2b80a
Add some notes about wildcard domains in nonProxyHosts field (#476)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-09-29 09:52:08 +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
Nick Boldt f0545195f8
CRW-1229 use ArchitectureDependentEnv values instead of amd64-specific ones to match values set in defaults.go (#454)
Change-Id: I88022bd2b4faa09c1cbf489d75b198ddc98f19c1
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-09-21 10:08:31 -04: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 c824447348
Add validation for username field to be dns compatible (#444)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-09-16 12:26:09 +03:00
Mykola Morhun ef0a2fa705
Correctly convert wildcards in nonProxyHosts for JAVA_OPTS (#440)
* Correctly convert wildcards in nonProxyHosts for JAVA_OPTS
* Fix propogation of wildcard non-proxy hosts into Keycloak

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-09-16 11:46:52 +03:00
Serhii Leshchenko 4c9b256619
Fix reconciling of single user Che (#432) 2020-09-08 16:23:30 +03:00
Mykola Morhun aeef0ef21a
Make additional requiest for test route certs if first one fails without proxy (#424)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-09-02 11:53:51 +03:00
Anatolii Bazko 8ebde182a0
Add more checks to tls certificates into che configmap (#425)
* Add more checks to  tls certificates into che configmap

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-09-02 11:02:41 +03:00
Mykola Morhun 4d77be4117
Add server TLS key and cert into Che configmap if a separate namespace for Che workspaces is configured (#421)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-08-31 14:23:35 +03: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
Mykola Morhun 4c138d82b8
Do not use proxy settings for test route while getting cluster CA certificate (#409)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-08-19 17:10:49 +03:00
Michal Vala 611738366f
don't set probes when debug=true (#399)
Signed-off-by: Michal Vala <mvala@redhat.com>
2020-08-13 14:31:39 +02: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 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 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 97c09d2e77
Add property to allow use authenticator for proxies; 2020-07-10 13:56:13 +03:00
Anatolii Bazko 64e4b48cb3
Update CRD to mention OpenShift cluster wide proxy support (#333)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-07-10 10:05:52 +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