Commit Graph

98 Commits (fc2f76bc5c8a6146cdaca34eb2bb60ca8e30aaee)

Author SHA1 Message Date
Oleksandr Andriienko a6b945728e
Fix view rolebinding for kubernetes. (#11629)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2018-10-17 14:20:12 +03:00
Sergii Leshchenko 79e2813a10 Set Plugin Broker pull policy according to parameter 2018-10-04 21:12:36 +03:00
Oleksandr Garagatyi a44570e2f8 CHE-11408: Disable probes of Che master when debug is enabled
Remove readiness/liveness probes from Che deployment when debug is
enabled.
This allows to debug Che master for a long period of time without
Che container being killed because of unresponsive probes.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>

Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-10-01 09:31:47 +03:00
Sergii Kabashniuk e53b34b2b1
Setup default value for CHE_WORKSPACE_PLUGIN__REGISTRY__URL (#11354)
Setup default value for CHE_WORKSPACE_PLUGIN__REGISTRY__URL
2018-09-26 14:01:02 +03:00
Sergii Leshchenko 41b14c71b6
Make OpenShift infrastructure to create workspace service account if needed (#11199) 2018-09-21 08:50:25 +03:00
Oleksandr Garagatyi 036f044155 Add a property for default sidecar mem limit
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-09-17 14:01:34 +03:00
Eugene Ivantsov 2545559c30
Fix docs (#11203) 2018-09-13 12:36:09 +03:00
Sergii Leshchenko 5b848a6b02 CHE-10991 Add creating of workspace service account in Che Kubernetes Helm chart 2018-09-13 11:03:09 +03:00
Sergii Leshchenko b10c305d10 CHE-10991 Add creating of workspace service account in deployment Che on OpenShift 2018-09-13 11:03:09 +03:00
Eugene Ivantsov cb17ad3099
Use edit role for Che SA (#11177) 2018-09-13 10:15:21 +03:00
Oleksandr Garagatyi 8d589d0197 Fix an ability to use locally built images of Che on minishift
Latest versions of minishift ignore Che master docker image that
was built locally inside the VM.
Removeing docker.io from the image name workarounds the issue.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-09-07 17:20:37 +03:00
Oleksandr Garagatyi 85a0d2a8c7 Fix links to kubernetes deployment docs
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-09-07 17:19:41 +03:00
Kuperman Sergey 70f25dbebc Make Resource memory request configurable for k8s and OpenShift (#10673)
- Make Resource memory request configurable for k8s and OpenShift.
- Add alias for backwards compatibility to che.workspace.default_memory_limit_mb.
- set memory request to 512Mb.
- document CHE_WORKSPACE_DEFAULT__MEMORY__REQUEST__MB in che.env.
- Configure helm scripts to allow memory attributes on deployment.
Signed-off-by: Sergey Kuperman <sergey.kuperman@sap.com>
2018-09-06 13:02:42 +03:00
Sergii Kabashniuk be3cc1a00c
Fixed helm deployment with default value of loggerConfig (#11056) 2018-09-04 13:15:16 +03:00
Sergii Kabashniuk 77a00179db
Add che.workspace.plugin_registry_url information to workspace/settings Rest method (#11015)
Add che.workspace.plugin_registry_url information to workspace/settings Rest method
2018-09-04 10:09:20 +03:00
Eugene Ivantsov 733d7bbd34
Multiple changes to deploy scripts (#11025)
* Multiple changes to deploy scripts

* Remove debug echo

* Fix formatting

* Fix formatting

* Fixup
2018-09-03 14:38:14 +03:00
Oleksandr Garagatyi 27bed82d5c
CHE-10561: Rework WS.NEXT flow to latest concept of plugin broker (#10740)
* Move wsnext flow in Kubernetes infra implementation

Now we need to start a broker and pass meta.yaml files to it.
Starting a broker is infra-specific stuff, so it has to be done
on the infra implementation side because we don't have a part
in the infra SPI that would allow us to start a broker.
Passing Meta files using InternalEnvironment object is more
invasive than passing only attributes. So, this commit applies
less invasive scheme.

* CHE-10202,10561: Add fetching of Che editor, plugins meta from the registry

Add fetching of Che editor ID from workspace attributes.
Add fetching of Che plugins IDs from workspace attributes.
Use colon sign for separating editor/plugin ID and version
instead of the slash.
Remove old Workspace.Next model objects.

* CHE-10561: Share WS.NEXT between k8s and OS infras

Use WS.NEXT in both k8s and OS infrastructure implementations.

* CHE-10561: fix fetching meta.yaml files from che-plugin-registry

* CHE-10561: Fix sidecar model serialization

Fixes the fact that some fields in workspace sidecar tooling model
POJOs were incorrectly named or required custom serialization of
fields.

* CHE-10561: Add listening of che-plugin-broker

Add code that allows listening for events from Che plugin broker.
An event might contain workspace tooling config as a result if the broker
finished successfully or error otherwise.

* CHE-10561: Add PluginBrokerManager to control broker lifecycle

Adds PluginBrokerManager that configures/starts/waits Che plugin
broker.

Remove unused code.
Remove notion of Workspace next.

* Align plugin registry property between different components

* Fix extra  path in che plugin registry URL

Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-09-03 08:57:32 +03:00
Eugene Ivantsov 1bacf0c5d1
Merge pull request #11011 from eclipse/ocp_sh_improvements
Ocp sh improvements
2018-08-31 14:45:48 +03:00
Eugene Ivantsov d75c8fa1c5 ocp.sh stuff 2018-08-31 14:43:37 +03:00
Eugene Ivantsov 0d752f76c1 ocp.sh stuff 2018-08-31 14:43:09 +03:00
Eugene Ivantsov 868b2aa60a ocp.sh stuff 2018-08-31 14:41:48 +03:00
Dmytro Nochevnov 265e044e0a
Fix path to OCP oauth certificate (#11010)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-08-31 13:57:08 +03:00
Sergii Kabashniuk 2b7ebd8f85
Added ability to deploy che plugin registry with ocp.sh (#10954)
Added ability to deploy che plugin registry with ocp.sh ./ocp.sh --deploy-che --deploy-che-plugin-registry
Add environment variableCHE_PLUGIN_REGISTRY_URL for che-master with a link to che plugin registry
2018-08-30 10:18:51 +03:00
Eugene Ivantsov 7f668b0b2f
Merge pull request #10947 from eclipse/revert_update_to_310
Revert update to 3.10
2018-08-29 11:09:09 +03:00
Eugene Ivantsov 27d3c58718 Remove host dir arg 2018-08-28 13:33:35 +03:00
Eugene Ivantsov d176a5144f Revert update to 3.10 2018-08-28 12:15:59 +03:00
Ido Itzkovich 11be6c2ecd Make Che logging variables configurable via helm (#10912)
- Added option to set CHE_LOGGER_CONFIG through
     global.log.loggerConfig in values.yaml.
     - Added option to set name of custom log appender
     implementation through global.log.customAppenderName
     in values.yaml.
     - Added default value for appender name in values.yaml
     - Added CHE_LOGGER_CONFIG to deployment container env

Signed-off-by: Ido Itzkovich <ido.itzkovich@gmail.com>
2018-08-28 11:23:39 +03:00
Eugene Ivantsov 01051b8ac7
Merge pull request #10888 from eclipse/create_okd_dir
Do not exit when okd dir removal fails
2018-08-27 10:16:35 +03:00
Sergii Kabashniuk 3ed123e8d3
Revert removal of CHE_MULTIUSER variable from che-server-template.yaml (#10911) 2018-08-27 10:08:00 +03:00
Eugene Ivantsov 566769d014 Do not exit when okd dir removal fails 2018-08-23 13:18:27 +03:00
Eugene Ivantsov 99a4ff5c00 Check if okd dir exists before removing content 2018-08-23 11:25:42 +03:00
Eugene Ivantsov ca4543f386 Create OKD local dir 2018-08-23 10:34:26 +03:00
Eugene Ivantsov 193a395f87
Merge pull request #10766 from eclipse/openshift_v_3_10
Multiple changes to deploy scripts
2018-08-22 20:52:57 +03:00
Eugene Ivantsov e5ed7028ae Remove local dir. Fix path to crt file 2018-08-21 12:28:38 +03:00
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Oleksandr Garagatyi eda8344ae6 Remove marketplace placeholder leftovers
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-08-20 11:08:07 +03:00
Oleksandr Garagatyi b5d727e475 Make Che communicate with che-plugin-registry
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-08-20 11:08:07 +03:00
Eugene Ivantsov d20e560693 remove todo 2018-08-15 15:53:30 +03:00
Guy Daich 099323a1e4
Merge pull request #10509 from i300543/master
Make host calculation more short and concise for che master
2018-08-15 15:31:53 +03:00
Eugene Ivantsov b676010b23 Revert workaround with tags 2018-08-14 19:34:08 +03:00
Eugene Ivantsov 5d5eb2bad9 Uncomment function 2018-08-14 17:54:49 +03:00
Sergey Kuperman 107c5507f9 fix hardcoded secret name in certificate.yaml
Signed-off-by: Sergey Kuperman <sergey.kuperman@sap.com>
2018-08-14 14:35:09 +03:00
Eugene Ivantsov 9baa4bb84a Exit if ansible service broker deployment times out 2018-08-14 13:54:08 +03:00
Eugene Ivantsov 3eb094a7c1 Multiple changes to deploy scripts 2018-08-14 12:39:45 +03:00
Maxim Musienko 976842ffe9 fix k8s deployment fail (#10747)
* fix k8s deployment fail
2018-08-13 12:14:20 +03:00
Roman Iuvshyn 5d26cafed4
allow to set che ws agent inacive timeout in helm (#10705) 2018-08-09 11:37:04 +03:00
Angel Misevski 44588aa775 Remove unnecessary properties from kubernetes/OS infrastructure
Removes properties

- che.infra.kubernetes.username : can change, requiring reconfiguration
- che.infra.kubernetes.password : can change, requiring reconfiguration
- che.infra.kubernetes.oauth_token : expires

as they complicate setup and all represent suboptimal running scenarios.
Use che serviceaccount instead.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2018-08-07 10:11:12 -04:00
Sergey Kuperman 124a8f18ef Make host calculation more short and concise for che master
Signed-off-by: Sergey Kuperman <sergey.kuperman@sap.com>
2018-08-06 10:57:59 +03:00
Mykhailo Kuznietsov 1170a06bb9
Add Proxy env variables for workspace containers in Openshift and Kub… (#10387) 2018-07-31 17:27:36 +03:00
Oleksandr Garagatyi e17fbed76f Small fixes WS.NEXT deployment readme
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-07-19 09:54:29 +02:00