Commit Graph

852 Commits (2ea0f7cbcc2fa0baebf65e2c5da680e3feb88943)

Author SHA1 Message Date
Sergii Kabashniuk 29aa04cb2f
Provide metrics of k8s API execution (#15207)
* Provide metrics of k8s API execution
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-11-20 08:17:04 +01:00
Oleksandr Andriienko e3bc0a0bda
Use nightly che-machine-exec tag instead of deprecated next. (#15144)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2019-11-12 11:42:21 +02:00
Max Shaposhnik 11bbcf0c10
Use cached sessions behind any of the login filters 2019-11-09 09:50:54 +02:00
Vitalii Parfonov e5d31ff913
RELEASE: Set next development version (#15141) 2019-11-07 17:14:27 +02:00
Sergii Kabashniuk 3de4e7ffac
Monitoring & Tracing capability for multiple Thread pools of Che Server (#14727)
* Monitoring & Tracing capability for multiple Thread pools of Che Server
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-10-30 14:11:02 +01:00
Sergii Kabashniuk 947f4d259b
Remove deprecated docker infrastructure (#14951)
* Remove deprecated docker infrastructure
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-10-29 08:08:02 +01:00
Oleksandr Andriienko d604bb4392
Don't override entrypoint for remote binary. (#14969)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2019-10-24 10:04:27 +03:00
Lukas Krejci 7d56354a5e
Use che.infrastructure.kubernetes.namespace.default during workspace namespace resolution (#14828)
Load the workspace during then namespace resolution so that we can check
for the attribute stored in the workspace attributes.

Switch the default namespace to `<username>-che`.

Update the property descriptions in che.properties and use the new
CHE_INFRA_KUBERNETES_NAMESPACE_DEFAULT in the helm chart.

Move the delete to the KubernetesNamespace/OpenShiftProject to
concentrate the handling in one place.

Split the isNamespaceStatic() (previously called isPredefined()) into
isCreatingNamespaces() and isManagingNamespaces() to separately capture
the two usecases in which that single method was previously incorrectly
called. Also make these methods workspace-specific to be able to
consistently work with the legacy logic across all methods.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-10-23 13:22:51 +02:00
Oleksandr Andriienko 221e7efe23
Add support endpoints for VSCode extensions and Theia plugins. (#14937)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2019-10-23 13:08:38 +03:00
Max Shaposhnik 02a9fe9ca4
Use newer version of Jgroups and EclipseLink to prevent PKIX errors on OCP 4.x 2019-10-21 11:49:42 +03:00
Sergii Kabashniuk 0134cb488b
Disable cors on master. Cleanup cors configuration on ws-agent (#14921)
* Disable cors on master. Cleanup cors configuration on ws-agent
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-10-18 15:43:56 +02:00
Vitalii Parfonov 41d48bf2de
RELEASE: Set next development version (#14904) 2019-10-17 15:45:06 +03:00
Sergii Kabashniuk daae1cf5fe
Extend the size of the pool that is handling workspace related operations (#14884)
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-10-15 13:32:34 +02:00
Oleksandr Andriienko 36fe587e28
Use newer che-plugin-broker with che-theia remote runtime injection (#14832)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2019-10-10 10:08:05 +03:00
Max Shaposhnik a969f69946
Validation of devfiles on workspace update 2019-10-09 20:01:32 +03:00
Sergii Leshchenko cf76ba84d0
Merge pull request #14541 from sleshchenko/k8sNamespaces
Add an ability to list available k8s namespaces
2019-10-09 16:12:36 +03:00
Sergii Kabashniuk 5afe137875
Added missing setnev.sh after moving from che-lib (#14818)
* Added missing setnev.sh after moving from che-lib

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-10-09 11:23:59 +02:00
Sergii Leshchenko feb18ac7fc Added an ability to list namespace available to ws creation
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-10-09 11:47:03 +03:00
Max Shaposhnik 720aab0051 Revert "Devfile validation via message entity provider" (#14812)
This reverts commit fc531ea015.
2019-10-08 22:29:20 +03:00
Max Shaposhnik fc531ea015
Devfile validation via message entity provider 2019-10-08 14:10:15 +03:00
Sergii Kabashniuk 6a09c52253
Changed default idle timeout and limit of running workspaces per user (#14747) 2019-10-04 09:34:18 +02:00
Sergii Kabashniuk 8dac61e449
Migrate code from che-lib (#14592)
* Migrate code from che-lib

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-10-03 08:47:38 +02:00
Vitalii Parfonov 4e1492b08f
RELEASE: Set next development version (#14690) 2019-09-27 22:52:26 +03:00
Oleksandr Andriienko dd47af60fd
Plugin ephemeral volume feature for CheContainers (#14539)
* Add plugin ephemeral volume feature

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

* Move plugin containers volume logic to external class.

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

* Fix volume solution to work with unique pvc strategy

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

* Clean up.

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

* Clean up

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

* Clean up.

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

* Rename field persistVolume to ephemeral

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

* Fix up.

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

* Apply proposed changes changes.

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

* Apply proposed changes + enhasments.

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

* Reuse pvc claim from k8sEnv

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

* Use released version che-plugin-broker.

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

* Use newer version che-init-plugin-broker

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2019-09-26 14:11:03 +03:00
Mykhailo Kuznietsov 1907b041c1
Remove installer registry service (#14193) 2019-09-23 12:11:33 +03:00
Lukas Krejci 159ccc6445
Makes sure the workspace activity checker reconciles the workspaces with their true statuses. (#14574)
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2019-09-20 14:49:39 +02:00
Michal Vala 6d9cfe62c7
workspace namespace/project placeholders (#14524)
* namespace for workspace with username and userid placeholders

* write meaningful error message when failed to create namespace/project due to lack of permissions

* describe placeholders in kubernetes.namespace/openshift.project properties

* refactor detect placeholders in namespace to stream

* check if namespace name is predefined when evaluating
2019-09-20 01:02:08 +02:00
Max Shaposhnik b8688de7de
Cleanup of temporary workspaces by schreduler instead of startup time
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
2019-09-17 10:12:39 +03:00
Sergii Leshchenko c2c8295c86
Remove WsAgent specific classes from che-core-workspace-api (#14528)
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-09-13 15:00:24 +03:00
Sergii Kabashniuk 00eaa1a10a
Optimize PermissionChecker performance && adjust jsonrpc configuration (#13034)
* Optimize PermissionChecker performance && adjust jsonrpc configuration 
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-09-11 14:18:49 +02:00
Lukas Krejci 154d668505
Support single-host mode on the multi-user server (#14335)
Support single-host mode on the multi-user server. Note that this depends
changes in the che-jwtproxy component.

* Add a distinction between service name and path base in the external
server exposer to be able to correctly expose a service through a proxy
* the async authentication in loader.js doesn't truncate the path
anymore so that it can correctly locate /jwt/auth even in single-host mode
* enhance the jwt proxy configuration with the ability use custom uri
prefixes for the redirects on auth failure - this can be used to pass in
the information about the external path the proxy is available on even if
hidden behind a path rewriting ingress
* Make sure pathname doesn't contain duplicated slashes when constructing
the auth request.
* Made the cookie path server-strategy sensitive
2019-09-10 10:52:51 +02:00
Roman Iuvshyn 87056fe29e RELEASE: Set next development version 2019-09-05 14:54:52 +02:00
Mykhailo Kuznietsov 40ee503a05 Remove Stack service (#14078)
* Remove Che6 Stack concept

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2019-09-03 08:00:12 +02:00
Mykhailo Kuznietsov 3da8646eaf Remove Project Template API (#14109)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2019-09-02 16:52:32 +02:00
Angel Misevski ad331b1191 Update default plugin brokers to v0.20
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2019-08-27 09:39:58 -04:00
Lukas Krejci af26d29b96
Generalize the ingress configuration to support single-host in single-user mode on kubernetes (#14134) 2019-08-26 16:27:52 +02:00
Vitalii Parfonov 608882a3ee
use the latest nightly image, adapt e2e tests for new behavior of debug settings in Theia (#14285)
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-23 07:30:12 +03:00
Angel Misevski 29e9dc4157 Update default plugin/devfile registries to use prod-preview
Update the default registries used in che.properties to use the
prod-preview deployments instead of production. This is to avoid issues
where snapshot changes of registries and che defaults are incompatible
with the deployment on production.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2019-08-20 09:37:56 -04:00
Vitalii Parfonov c3b0abbe5d
Set all image version to the 7.0.0 to align it with CheTheia version (#14264)
* Set all image version to the 7.0.0 to aligen it with CheTheia version until #14248 not fixed

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-16 17:34:38 +03:00
Max Shaposhnik ba1c521e32
Allow chePlugin preferences to be string, int or boolean type 2019-08-16 15:36:17 +03:00
Vitalii Parfonov f50d133375 Use taged version for plugins
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-15 17:07:16 +02:00
Vitalii Parfonov dd882938c0 Revert "Use next version for default plugins (#14247)"
This reverts commit d9b01bc01d.
2019-08-15 17:07:16 +02:00
Vitalii Parfonov d9b01bc01d
Use next version for default plugins (#14247)
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-15 14:23:45 +03:00
Vitalii Parfonov ae8fedc411
RELEASE: Set next development version (#14238) 2019-08-14 19:32:18 +03:00
Vitalii Parfonov e743a4124e
Set 'next' version for che-machine-exec as default (#14061)
* Set 'next' version for che-machine-exec as default

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>

* Use 'nightly' images instead of 'latest'. Change organization 'openshiftio->eclipse'

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-08-01 10:48:00 +03:00
Sergii Leshchenko 3d89b865f3
Use v0.19 minor version of plugin broker image instead of bugfix (#14089)
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-08-01 10:44:10 +03:00
Sergii Leshchenko 7ff019ff1c Make Kubernetes infrastructure propagate TLS secret if configured
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-07-30 10:30:30 +03:00
Vitalii Parfonov 03da1e24e4
RELEASE: Set next development version (#14026) 2019-07-25 15:43:30 +03:00
Sergii Kabashniuk 79c6ec0703
Initial cleanup of che6 legacy code (#13788)
cleanup of che6 legacy code

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>

* Remove/disable GWT-related code in Java selenium E2E tests (#13829)

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2019-07-23 15:12:27 +02:00
Vitalii Parfonov 78e5af421f
Set default vesrion of Che Theia image (#13879)
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-07-17 15:20:09 +03:00