Commit Graph

112 Commits (331a63cd06be6df3501118e6150c42e0de85db82)

Author SHA1 Message Date
Sergii Leshchenko 331a63cd06 Rename OPENSHIFT_IDENTITY_PROVIDER_CERTIFICATE to CHE_SELF__SIGNED__CERT 2018-12-05 13:18:06 +02:00
Sergii Leshchenko 7d6ea15850 Add parameter to ocp.sh to deploy Che with SSL enabled 2018-12-05 13:18:06 +02:00
Sergii Leshchenko b3a6f94bf5 Fix creating of oauth client when SLL is enabled 2018-12-05 13:18:06 +02:00
Lukas Krejci d789f290dd Add prometheus and grafana to the Helm chart (#12088)
* Adds prometheus and grafana as to the deployment

moves che's custom charts into "custom-charts" directory so that they don't
interfere with helm which uses the "charts" directory to download and use
all the other remote dependencies.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>

* Deploy our own ingress for prometheus and grafana so that we can have
templatized names of the same format as the same of the deployment.

Also removed the hardcoded time interval in the sample dashboard so that
it uses the default of "last 6 hrs".

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>

* New lines at the end of the files and whitespace removal.
2018-12-05 13:06:35 +02:00
Lukas Krejci 55022e22cd Introducing Jaeger tracing support to the Che Helm chart. (#12049)
Introducing Jaeger tracing support to the Che Helm chart. (#12049)

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2018-12-04 16:20:49 +02:00
Mykhailo Kuznietsov 3d366a1c19
Add ability to change CORS configuration on Che Server through env vars (#12046) 2018-12-04 14:56:38 +02:00
Shashank MJ 4f991e77df set PROXY_ADDRESS_FORWARDING in keycloak deployment when tls is enabled 2018-11-30 17:09:17 +02:00
Sergii Kabashniuk da3eefe237
Metrics POC (#11990)
With CHE_METRICS_ENABLED env variable enable Prometheus metrics endpoint
2018-11-27 23:47:24 +02:00
Eugene Ivantsov cc1fb31ec4
Use proxy forwarding (#11137)
* Use proxy forwarding

* Double quotes for bool
2018-11-20 06:55:08 +02:00
Sergii Leshchenko 8514aae427 Update comment about helm chart parameter 2018-11-15 14:43:51 +02:00
Mykhailo Kuznietsov bbc7e7d751
Remove pure kubectl deployment (#11894) 2018-11-14 10:00:05 +02:00
Sergii Kabashniuk 8a38002dd9
Basic tracing support for OpenShift (#11844)
Basic tracing support for OpenShift (#11844)
2018-11-09 14:42:52 +02:00
Sergii Leshchenko a204733883 CHE-11349 Update helm chart to configure default service account (PR #11834) 2018-11-08 08:36:42 +02:00
Sergii Kabashniuk b53c0e5825
PostgreSQL debug mode (#9343)
* Added eclipse/che-postgres:nightly-debug image to run postgresql with configured logger format compatible with pgbadger reporting tool
2018-10-31 09:54:38 +02:00
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