Commit Graph

597 Commits (36750ae52d6ef38bd45453aa3db57c833127985d)

Author SHA1 Message Date
David Festal 09a90beea6
Update identityProvider and postgres container images to latest defaults on Operator update (Fix #13714) (#72)
* Refactor defaults mgt for flavor-related props
* Don't update the CR with effective docker images
* Also redeploy Postgres when image changes
* Now correctly manage upgrade from 7.0.0 GA
* Wait for rolling update of secondary deployments

Signed-off-by: David Festal <dfestal@redhat.com>
2019-08-26 11:49:46 +02:00
nickboldt fbeb80885d update to newer versions of CRW, Che Server, Plugin Reg, Devfile Reg, PVC, Postgres, and SSO
Change-Id: I592e0d6093ab568d3f5ee5f023aaadd6ddf14664
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-08-14 22:42:59 -04:00
David Festal 0757edd176
Release 7.0.0 (#69)
* Update default tags to `7.0.0`
* Release OLM files to `7.0.0`
* Channel was renamed to `stable` at `7.0.0` release

Signed-off-by: David Festal <dfestal@redhat.com>
2019-08-14 23:37:00 +02:00
David Festal 831a776b4e
Inconsistent probes prevented deploying on RHPDS (#67)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-08-13 19:56:25 +02:00
David Festal ff0e032fb4
Fix Custom Resource update bugs and external registry URLs not taken in account (#63)
* Add both `https` and `http` redirect URLs in the `OAuthClient`
* Take registry URL settings into account
* Only update registry URLs in Status when necessary
* Update registry routes or ingresses when switching to TLS
* Restart pod on deployment-driving CR field change

Signed-off-by: David Festal <dfestal@redhat.com>
2019-08-12 16:25:07 +02:00
David Festal 952be135dc
Increase memory limit for registy containers (#64)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-08-03 10:00:40 +02:00
Nick Boldt d16dd077d1 remove DefaultCodereadyPluginRegistryUrl from pkg/deploy/defaults.go and pluginRegistryUrl from deploy/crds/org_v1_che_cr.yaml as these are no longer used/needed (#58)
Change-Id: I8bf17e40d7ed55c30fe28f640614fe6202cf66a5
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-07-26 13:38:43 +02:00
David Festal d887a5093c
Allow configuring pull policy (with `Always` by default for nightlies) (#57)
* Add pull policies
* Add configurable pull policies for deployments in Che, Keycloak and Postgres deployments
* `Always` policy by default for `nightly`/`latest` images

Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-26 13:33:08 +02:00
David Festal d0f171e4b0
Reintegrate the `7.0.0 rc 4.0` release branch to master (#59)
* update defaults to `7.0.0-rc-4.0`
* release OLM files to `7.0.0-rc-4.0`

Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-26 13:23:00 +02:00
David Festal 3ccdf36c40
Fix registry labels and probes (#54)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-23 11:15:59 +02:00
David Festal 8837474a0f
Include registries in Che deployment (#51)
* Update API
* Update defaults
* update controller
* Separate memory limits and requests as in PR https://github.com/eclipse/che/pull/13890/files#diff-a488b4bdede7547798a17f6830874b05R59
* update release script to also change default image tag of registry containers
* Also remove overridden `nightly` registry images
* Add registry nightly images in nightly OLM packages

Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-19 17:27:57 +02:00
Lukas Krejci 6f463e0e1c
Merge pull request #49 from metlos/devfile-registry-support
Add support for configuring devfile registry
2019-07-17 09:58:39 +02:00
David Festal 6e56d28841
Gracefully ignore the error when trying to delete an unexisting OAuthClient (#48)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-16 12:01:46 +02:00
Lukas Krejci 28126447e5 Add support for configuring devfile registry. 2019-07-15 16:41:03 +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 664b51bc85 Change an obsolete env variable
Signed-off-by: David Festal <dfestal@redhat.com>
2019-06-19 17:11:32 +02:00
David Festal 6665f3f468
Fix unnecessary cluster perm requirement (#37)
* Only create the OS API cert with OS OAuth
* Make some impl methods private

Signed-off-by: David Festal <dfestal@redhat.com>
2019-06-19 15:51:32 +02:00
David Festal 03d99e263e
Fix issue #32 by providing distinct defaults (#35)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-06-18 19:18:29 +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
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
nickboldt bfd906590e switch to registry.redhat.io for the ubi8-minimal, sso, and pg images
Change-Id: Ic557cda8c041e27730116c20595c900d6556125b
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-05-31 14:43:30 -04:00
David Festal 92dc18f661
Update the plugin registry to v3 by default 2019-05-23 09:21:48 +02:00
nickboldt afb280d053 s/7.0.0-beta-4.0/7.0.0-beta-5.0/
Change-Id: Ic87e8875872390c1631b874942d90ac3bbfa2f9d
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-05-22 12:47:01 -04:00
nickboldt 7572b31fc2 CRW-280 use registry.redhat.io (authenticated) instead of registry.access.redhat.com (non-auth'd); also new server image is registry.redhat.io/codeready-workspaces/server-rhel8, not just /server
Change-Id: I247e6db78cc71d53e385e5ef830234580b3b34bd
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-05-15 13:55:03 -04:00
eivantsov 7b4b1bb471
Improve crt retrieval (#24) 2019-05-12 09:08:15 +03:00
eivantsov 2ebbad53df
Update images. Update registry (#23) 2019-05-11 19:30:14 +03:00
nickboldt 601c0a2d24 add notes about postgresql-96-rhel7 tag used in various places
Change-Id: I3d84165a93bb8d329670bc7a89b5c26a37c90aeb
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-05-07 08:18:52 -04:00
Oleksandr Garagatyi 8c6b5aebfb
Update default plugin registry URL
Update default plugin registry URL since old value is no longer compatible with new wsmaster
2019-05-06 15:29:55 +03:00
nickboldt 8eee6514c9 bump to latest DefaultCheServerImageTag, DefaultCodeReadyServerImageTag; also pull newer DefaultPvcJobsImage, DefaultPostgresImage, and DefaultKeycloakImage to get CVE fixes
Change-Id: I2c001545706c7a1a3d6b042de2699dbf7888709d
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-05-03 13:19:49 -04:00
Eugene Ivantsov 574b87c9a2
Auto fill non proxy with kube api url (#18) 2019-04-25 14:15:11 +03:00
Eugene Ivantsov 8ccdb82147
Update service and route create functions. Make mem setting for server deployment configurable (#16) 2019-04-24 17:45:16 +03:00
Eugene Ivantsov 63787372bd
Get crt of OpenShift baseURL for Keycloak (#14)
* Get crt of OpenShift baseURL for Keycloak

* Don't fails when rolling out router deployment
2019-04-19 14:40:49 +03:00
Eugene Ivantsov 2426068f65
Rename json tags. Update upstream image tag. Remove CRW olm yamls (#13)
* Renamed json tags. Updated upstream image tag. Removed CRW olm stuff
2019-04-13 09:03:46 +03: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 ad6b2a3a21
Auto fetch crt. Introduce e2e tests (#8) 2019-04-05 16:17:01 +03:00
Eugene Ivantsov 5c107c2e79
Fix small errors. Update Dockerfile (#7) 2019-04-02 18:19:47 +03:00
Eugene Ivantsov bb1034b380 More tests. New defaults. Custom CM. Updates to README 2019-03-27 20:09:03 +02:00
Eugene Ivantsov 48db0ea5b8 Add docs 2019-03-22 11:02:34 +02:00
Eugene Ivantsov 2d8e94997c set default 1.1 CRW tag 2019-03-20 18:49:45 +02:00
Eugene Ivantsov 32b8e15939 Update to 0.5.0. Use CRDs 2019-03-20 09:33:06 +02:00
Eugene Ivantsov 8432ba2998 Remove all 2019-03-19 15:58:04 +02:00
nickboldt ba9e3c1910 deploy registry.access.redhat.com/codeready-workspaces/server:latest not beta
Change-Id: Ib407bb485bc1c6393b299fd9f15751a5f0990150
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-02-20 09:02:04 -05:00
Eugene Ivantsov 85fa87f5a9 Use RHEL image for mkdir and rm jobs 2019-02-18 20:08:58 +02:00
Eugene Ivantsov 047cbc2f4c Add Kube API crt to Keycloak truststore by default 2019-02-07 14:42:15 +02:00
Eugene Ivantsov c40ebd530a Update labels. Update relam display name 2019-02-07 14:07:03 +02:00
Eugene Ivantsov 914e92e4e6
OpenShift/K8S Operator (#3)
* Vendor dependencies

* OpenShift/K8S Operator

* Disable ssl for realm by default

* Fix ssl for realms. Create view role
2019-01-30 11:54:38 +02:00