Commit Graph

30 Commits (ff0e032fb4dfa32290807fbc45e4f873b5e6e5fb)

Author SHA1 Message Date
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 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 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
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 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 bb1034b380 More tests. New defaults. Custom CM. Updates to README 2019-03-27 20:09:03 +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