che-server/dockerfiles
David Festal e0890235fa
Allow creating OpenShift objects under the current user account on OCP (#9577)
* Support identity provider token retrieval in both JSON or URL formats.

That's required because some identity providers (such a `openshift-v3`)
correctly return the token information in JSON, as expected. So
switching to the url-based syntax should only used when the returned
json is invalid.

Signed-off-by: David Festal <dfestal@redhat.com>

* Introduce an `OpenShiftClientConfigFactory` to allow customizing the OpenShift config returned according to the current context (workspace ID, current user)

Signed-off-by: David Festal <dfestal@redhat.com>

* Openshift Infra + Multi-user => allow using OpenShift identity provider to connect to openshift with the OS oauth token of the current Che user.

This introduces a new property:

`che.infra.openshift.oauth_identity_provider`

Signed-off-by: David Festal <dfestal@redhat.com>

* Notify the user when a workspace cannot be started from the nav bar.

Signed-off-by: David Festal <dfestal@redhat.com>

* Add the ability to install the Openshift certificate into Keycloak

Signed-off-by: David Festal <dfestal@redhat.com>

* Add a yaml file to provide the openshift certificate as a secret,

in case it has to be installed into the dedicated Keycloak server.

Then the commands to install Che multiuser on Minishift with this
certificate are:

```
oc new-project che

oc process -f multi/openshift-certificate-secret.yaml -p
CERTIFICATE="$(minishift ssh docker exec origin /bin/cat
./openshift.local.config/master/ca.crt)" | oc apply -f -; \
oc new-app -f multi/postgres-template.yaml; \
oc new-app -f multi/keycloak-template.yaml -p ROUTING_SUFFIX=$(minishift
ip).nip.io; \
oc apply -f pvc/che-server-pvc.yaml; \
oc new-app -f che-server-template.yaml -p ROUTING_SUFFIX=$(minishift
ip).nip.io -p CHE_MULTIUSER=true -p
CHE_INFRA_OPENSHIFT_OAUTH__IDENTITY__PROVIDER=openshift-v3; \
oc set volume dc/che --add -m /data --name=che-data-volume
--claim-name=che-data-volume
```

Of course it's still needed to register the `openshift-v3` identity
provider in the Keycloak server, as well as, add the corresponding
`OAuthClient` object in Minihshift.

Signed-off-by: David Festal <dfestal@redhat.com>
2018-05-28 11:39:44 +02:00
..
action Changed copyright owner to "Red Hat, Inc." in license headers (#5964) 2017-08-11 10:46:58 +03:00
base fix CLI ENV vars setting / overriding (#8818) 2018-02-19 10:36:45 +02:00
bats Customize image names during image build (#4336) 2017-03-10 13:41:45 +01:00
che Remove cleaning up of CHE_DATA/lib folder in entrypoint.sh (#9553) 2018-05-03 09:51:58 +03:00
cli add bugfix versions to cli (#9799) 2018-05-24 16:16:58 +03:00
dev Make user home dir writable for OpenShift arbitrary user (#8205) 2018-01-09 10:41:29 +02:00
dir Changed copyright owner to "Red Hat, Inc." in license headers (#5964) 2017-08-11 10:46:58 +03:00
init Add internal and external API URL environment variables for workspaces (#9475) 2018-04-27 10:51:25 +03:00
ip Adds a check for linuxkit in addition to moby to detect if we're running docker4mac or docker4windows (else it will flag it as being 'native') 2017-11-13 10:39:27 +01:00
keycloak Allow creating OpenShift objects under the current user account on OCP (#9577) 2018-05-28 11:39:44 +02:00
lib RELEASE: Set next development version (#9669) 2018-05-11 10:27:31 +03:00
mount Changed copyright owner to "Red Hat, Inc." in license headers (#5964) 2017-08-11 10:46:58 +03:00
postgres fix new images build outside it's directory (#8893) 2018-02-23 14:46:14 +02:00
test Changed copyright owner to "Red Hat, Inc." in license headers (#5964) 2017-08-11 10:46:58 +03:00
theia CHE-9716: Use the fixed version of Theia in eclipse/che-theia image (#9751) 2018-05-23 16:35:08 +03:00
README.md Use https instead of http in web links. (#4276) 2017-03-01 14:58:58 +02:00
build.include Allow using --build-arg in build.sh scripts (#9111) 2018-03-16 12:14:35 +02:00
build.sh Multi-user Eclipse Che (#6441) 2017-10-06 17:27:27 +03:00

README.md

Eclipse Che - Dockerfiles

This che-dockerfiles repository is where all dockerfiles for Che Launcher, Che's CLI and Che's Stacks are hosted.

Eclipse Che

Join the chat at https://gitter.im/eclipse/che Eclipse License Build Status

https://www.eclipse.org/che/. Next-generation Eclipse platform, developer workspace server and cloud IDE. Che defines workspaces that include their dependencies including embedded containerized runtimes, Web IDE, and project code. This makes workspaces distributed, collaborative, and portable to run anywhere on a desktop or a server ... Read More

Eclipse Che

Getting Started

You can run Che in the public cloud, a private cloud, or install it on any OS. Che has been tested on Ubuntu, Linux, MacOS and Windows. The step by step guide will get you going.

The che repository is where we do development and there are many ways you can participate, for example:

Customizing

There are many ways to customize Che out-of-the-box including stacks, templates, commands, IDE extensions, server-side extensions plugins, assemblies, RESTful APIs, and editors.

Contributing

If you are interested in fixing issues and contributing directly to the code base, please see How to Contribute. It covers:

Feedback

  • Support: You can ask questions, report bugs, and request features using GitHub issues.
  • Roadmap: We maintain the roadmap on the wiki.
  • Weekly Meetings: Join us on a hangout.

License

Che is open sourced under the Eclipse Public License 1.0.