Commit Graph

10 Commits (76d0a5441649b5263dcab596e2bf7ca807bfb8da)

Author SHA1 Message Date
David Festal 76d0a54416 Fix a failing test due to hard coded `che`
Signed-off-by: David Festal <dfestal@redhat.com>
2019-11-15 11:40:40 +01:00
Tom George 431809f950 Update custom resource doc, and make it available in OpenApi spec (#94)
* Add openapi gen flags
* Get code to compile with new OpenApi field names

Signed-off-by: Tom George <tg82490@gmail.com>

* Complete the doc & fix optional management
* Rename the CRD to the initial name.
* Correctly update the CRD file
* remove unused and error-prone CRD file
* Update OLM packages with new OpenApi defs

Signed-off-by: David Festal <dfestal@redhat.com>
2019-10-14 14:28:51 +02:00
Tom George 9a4b8f2618 Add CustomCheProperties field (#87)
* Fix a linter error
* Fix a couple of tests that assume openshift v3 APIs
* Add overrideCheProperties to allow custom properties in the che config map
  - If the custom configmap exists for some reason, merge it with the che configmap, and then delete it
  - Rename GetCustomConfigMapData to GetPredefinedConfigMapData since we are not using the custom config map anymore
* Merge custom configmap into overrideCheProperties and delete it if it exists
* change OverrideCheProperties to CustomCheProperties, make it a type of map[string]string
* Correct error handling of custom config map and move it up higher in the reconciliation function
* Add serviceaccountname to Che configmap, remove GetPredefinedConfigMapData()
* Update CR then delete configmap
* Add license back
* Format license block

Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-07 13:53:37 +02:00
Sergii Leshchenko 5552439b71 Make Che Operator create consolelink if it's supported
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-09-09 13:27:23 +03:00
David Festal 9682f3448f
Don't allow installing Che with Openshift Oauth when no OAuth user exist (#74)
* First round of impl in the Go code
* Correct management of the status
* Add `users` permisions in cluster role
* Upgrade `operator-sdk` CLI pre-req to `v0.10.0`
* Produce a CSV diff to help reviews
* fix trailing spaces that break `gen-csv` desc mgt
* Update nightly CSVs
* Add the new OLM descriptors in the new nightly CSVs

Signed-off-by: David Festal <dfestal@redhat.com>
2019-09-02 18:47:30 +02:00
David Festal fdd0f43d29
Support the new `openshift-v4` identity provider (#34)
* Support the new `openshift-v4` identity provider
* Add permissions for the Openshift v4 provider and reduce
the requested permissions to manage the OAuth client
2019-06-18 19:05:02 +02:00
John Collier 30740e8154 Add field for workspace cluster role to operator (#29)
* Add field for workspace cluster role to operator
* Update Che controller test to verify custom role.

Signed-off-by: John Collier <John.J.Collier@ibm.com>
2019-06-04 11:44:52 +02:00
Eugene Ivantsov 9dc8a3c50b
Add finalizers. Make storageclass configurable. More tests (#12)
* Add finalizers. Make storageclass configurable. More tests

* Fix logs
2019-04-09 16:03:51 +03:00
Eugene Ivantsov bb1034b380 More tests. New defaults. Custom CM. Updates to README 2019-03-27 20:09:03 +02:00
Eugene Ivantsov 32b8e15939 Update to 0.5.0. Use CRDs 2019-03-20 09:33:06 +02:00