Commit Graph

88 Commits (5ee2914e9530dc4ed6400a1e88925546fdd71757)

Author SHA1 Message Date
David Festal 1161181899 Deploy multi-user Che to openshift (#6195)
* Allow deploying the Keycloak and Postgres servers to Minishift and Openshift Online.

This is related to https://github.com/redhat-developer/rh-che/issues/303
and https://github.com/redhat-developer/rh-che/issues/302

* Make the Che directory readble for any users

* Modify `deploy_che.sh` to support `multi-user` images

* Move the scripts to `che-init` and enhance `deploy-che.sh` to start the secondary server if necessary and wait for postgres to be available. 

* Wait for Postgres to be available before starting Keycloak

* Clean scripts through spellcheck and add missing licenses 

* Change the health check to `/api` instead of `/api/system/state` since, with the new permission work, accessing `/api/system/*` requires the user to have specific system rights.

* Fixes after comments on PR

* Use the new official `keycloak-openshift` image and manage web-origins 

* Make Keycloak memory limits consistent with official requirements defined
[here](http://www.keycloak.org/docs/latest/server_installation/topics/installation/system-requirements.html)

Signed-off-by: David Festal <dfestal@redhat.com>
2017-09-29 16:07:36 +02:00
Mykola Morhun 679df96208 CHE-6265: Add Keycloak email templates (#6451)
CHE-6265: Add Keycloak email templates
2017-09-28 11:56:41 +03:00
Oleksii Kurinnyi 01ab2b2587 Merge remote-tracking branch 'origin/master' into che-multiuser
# Conflicts:
#	dashboard/src/app/index.module.ts
#	dashboard/src/app/workspaces/workspace-details/workspace-details.service.ts
#	dashboard/src/components/typings/che.d.ts
2017-09-27 13:36:26 +03:00
Florent BENOIT 79ac0e78b8 Fix the stack json link 2017-09-27 12:07:40 +02:00
Sergii Kabashniuk de52d5f04b Code cleanup 2017-09-27 11:29:54 +03:00
Sergii Kabashniuk f08f5c52fc Merge with master 2017-09-26 15:33:44 +03:00
David Festal 5725219d11 Move the Openshift scripts from the cli image to the init image... (#6390)
... so that they are available locally after a `docker run cli:config`.


Signed-off-by: David Festal <dfestal@redhat.com>
2017-09-26 10:34:19 +02:00
Roman Iuvshyn d052e6cb68 set sslRequired to none by default 2017-09-25 15:48:14 +03:00
Sergii Kabashniuk d7d98081ea Added components to initialize admin permissions for configured user (#6414)
* Init admin permissions
2017-09-25 14:52:08 +03:00
Sergii Leshchenko 4ed3c42e96 Add multiuser environment variables 2017-09-22 15:22:33 +03:00
Sergii Kabashniuk 0ca969012b Mailsender (#6374)
Mailsender
2017-09-22 10:34:26 +03:00
Sergii Kabashniuk e7006e5ae4 Merge with master 2017-09-18 08:46:28 +03:00
Masaki Muranaka 1174e9ca34 Setup Traefik restart always.
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
2017-09-13 11:23:40 +02:00
Max Shaposhnik dd5a166696 Property fix 2017-09-12 15:21:10 +03:00
Max Shaposhnik d635b25831 Adds permissions into Che multiuser. (#6133) 2017-09-12 11:43:04 +03:00
David Festal 87d7b59047 Fix some incorrect environment variables
Signed-off-by: David Festal <dfestal@redhat.com>
2017-09-06 19:31:52 +02:00
Max Shaposhnik 202ded08ec Merge branch 'master' into che-multiuser 2017-08-18 10:33:46 +03:00
Mykhailo Kuznietsov ce41b4a71d Change copyright owner to "Red Hat, Inc" on remaining files (#6032)
* Change copyright owner on remaining files

* fixup! Change copyright owner on remaining files

* fixup! fixup! Change copyright owner on remaining files
2017-08-17 18:05:53 +03:00
Max Shaposhnik 6419a48520 Merge with base branch 2017-08-17 17:59:59 +03:00
Max Shaposhnik 68755ad511 Merge branch 'master' into che-multiuser 2017-08-17 16:13:12 +03:00
Sergii Kabashniuk c87d869caf Added ability to configure ds with environment variables 2017-08-15 17:34:40 +03:00
Eugene Ivantsov 55bee0b7b5 Fix typo - https://github.com/eclipse/che/issues/5980 (#5983) 2017-08-14 14:02:40 +02:00
Max Shaposhnik c8b92fcc74 Merge with master 2017-08-11 16:42:29 +03:00
Mykhailo Kuznietsov 69d5148385 Changed copyright owner to "Red Hat, Inc." in license headers (#5964)
Change license header contributor to Red Hat, Inc.
2017-08-11 10:46:58 +03:00
Mykhailo Kuznietsov 338773ba9a Move activity components to plugin-activity (#5896)
Move activity components to plugin-activity
2017-08-10 10:04:57 +03:00
Mykola Morhun 9482b9db12 Che Keycloak theme: Set font to Roboto. Align popup text to the left. (#5951) 2017-08-10 08:56:00 +03:00
Max Shaposhnik ce8cb980ce Move properties into env 2017-08-08 11:46:55 +03:00
Sergii Kabashniuk 78f7bf82b5 Allow all web origins for public realm to dial with Cors problems 2017-08-04 15:04:59 +03:00
Roman Iuvshyn b53ec65286 get rid of hardcoded paths in che-server container (#5880)
* get rid of hardcoded paths in container
2017-08-03 13:09:01 +03:00
Mykola Morhun ebd0019459 Che theme for Keycloak (#5859)
Add draft of Che theme for keycloak
2017-08-02 15:23:31 +03:00
Roman Iuvshyn e270461059 add possibility to configure postgres connection 2017-08-01 15:56:51 +03:00
Roman Iuvshyn f88ff1cbb5 fix compose 2017-08-01 15:24:07 +03:00
Roman Iuvshyn 2d0d2b0caf fix che user permissions 2017-08-01 14:38:58 +03:00
Roman Iuvshyn 9c90adf33e fix network issue 2017-08-01 14:13:44 +03:00
Roman Iuvshyn 726b8adb4e initial 2017-07-28 17:16:43 +03:00
Roman Iuvshyn 1c8780e6d5 set custom network for che in multiuser mode 2017-07-27 17:27:07 +03:00
Roman Iuvshyn dba9cf3891 minor changes 2017-07-26 17:56:25 +03:00
Roman Iuvshyn 1163861928 added possibility to switch between single / multi user CHE 2017-07-26 17:37:31 +03:00
Max Shaposhnik b6ccb6e8b8 Fix dashboard loading 2017-06-27 16:05:08 +03:00
Roman Iuvshyn e56ec5f3bb fix permission denied issues with keycloak mounts 2017-06-23 16:39:36 +03:00
Roman Iuvshyn 8908564abf update keycloak config 2017-06-22 17:07:19 +03:00
Roman Iuvshyn 8defbf4208 add keycloak configurations 2017-06-22 16:54:02 +03:00
Max Shaposhnik 20e02848cc Merge branch 'che5362' of github.com:eclipse/che into che5362 2017-06-22 14:24:13 +03:00
Max Shaposhnik 7231fc2723 marge with master 2017-06-22 14:24:00 +03:00
Roman Iuvshyn 06c9108f8f rework health check for PG 2017-06-22 14:23:40 +03:00
Roman Iuvshyn 8db4a361b6 use healthcheck for postgres container, some minor structure changes 2017-06-20 12:40:04 +03:00
Anton Korneta c34d359921 Change public stacks, recipes loading policy (#5234) 2017-06-20 11:31:00 +03:00
Sergii Kabashniuk 4f8265365a added realm config. disabled due to linux permissions mouns in keycloak container 2017-06-19 10:07:03 +03:00
Roman Iuvshyn 7cd3f58bd6 add postgres to composefile 2017-06-16 17:04:13 +03:00
Sergii Kabashniuk 644d73e09f Setup master war. Setup smallgroup compose file 2017-06-15 14:13:52 +03:00