Commit Graph

14 Commits (7.14.x)

Author SHA1 Message Date
Anatoliy Bazko 4ce1c473cb Update ssl_requires to NONE
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-29 15:11:12 +03:00
Anatoliy Bazko d6dcc1864e Revert "Merge pull request #273 from eclipse/sslrequired"
This reverts commit 1a274ab172, reversing
changes made to a0f108dcac.
2020-05-27 15:22:23 +03:00
Anatoliy Bazko eb57944cc1 Update keycloak db to turn sslRequird to none
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-22 12:36:20 +03:00
Anatoliy Bazko b9942aacff Move defaults to env var
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-13 08:19:17 +03:00
Anatolii Bazko fdaeb5e060
Store credentials into secrets instead of plain text of CheCluster CR fields (#198)
* Use secrets instead of plain text

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-25 09:57:36 +02:00
David Festal d273007e7e Fix the Openshift OAuth provisioning for CRW, and move provisioning files (#122)
* Fix the oauth_provision file for CRW

- Replaces `jq` tool calls by equivalent `sed` calls
- Moves the `xxx_provision` files out of `deploy` (more for yamls) (should fix new issue https://issues.jboss.org/browse/CRW-482 at the same time)
- Replace a hard-coded value of the clientId (`che-public`) in the `token-exchange` feature on CRW
- Correctly enables the RHSSO preview features required for `token-exchange` (the way to activate them slightly differs from the upstream Che case)

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
David Festal 3360525412
Enable token exchange (#84)
* Enable the `token-exchange` preview KC feature
* Add what should be done on the Che side
* Automatic token-exchange permissions config
* fix oauth provision script
* Fail-safe removal of the `openshift` id provider
* Fix possible inconsistencies in OS OAuth status
* Update README.md according to suggestion
Co-Authored-By: Robert Krátký <rkratky@redhat.com>

Signed-off-by: David Festal <dfestal@redhat.com>
2019-09-24 10:17:28 +02:00
David Festal c0019f24c2
Add automatic redirect to the `openshift` provider (#75)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-09-03 15:56:25 +02:00
David Festal 2f639261d8 Update to the `7.0.0-RC-2.0` release after some last fixes (#39)
* Make the OS 4 API url retrieval more robust

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

* Fix a bug when removing openshift v4 provider

On Openshift arbitrary user mode.

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

* Roll-update Keycloak when certificates changed

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

* Don't loose the controller ref on Keycloak update

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

* Remove the finalizer when disabling OS OAuth

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

* Upgrade defaults to `7.0.0-RC-2.0`

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

* fix wrong whitespaces

Signed-off-by: David Festal <dfestal@redhat.com>
2019-06-20 10:57:12 -04: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
David Festal cbfb771f07
Fix Che operator to upgrade to 7.0.0-beta-5.0 (#30)
* Use `7.0.0-beta-5.0` Keycloak docker image
* use `/scripts` as home dir for `kcadm`
* Add `runAsUser` on Postgres for k8s
* Update k8s security context from upstream
* update the CR with security context settings
* Fix a bug with `openshiftoAuth: true` on K8S

Signed-off-by: David Festal <dfestal@redhat.com>
2019-06-04 11:40:52 +02:00
Eugene Ivantsov ad6b2a3a21
Auto fetch crt. Introduce e2e tests (#8) 2019-04-05 16:17:01 +03:00
Eugene Ivantsov 32b8e15939 Update to 0.5.0. Use CRDs 2019-03-20 09:33:06 +02:00