Commit Graph

142 Commits (a2aee2b212a8f6d3dbcf52154148b0732cd1cd16)

Author SHA1 Message Date
Michal Vala a2aee2b212 use logo without text for consolelink
Signed-off-by: Michal Vala <mvala@redhat.com>
2019-09-09 15:00:00 +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
Sergii Leshchenko 0a2c701444 Add permission to works with consolilinks on cluster scope
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-09-09 13:27:23 +03:00
Sergii Leshchenko 7a79138538 Update OLX with new roles for che-operator
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-09-09 13:27:23 +03:00
Sergii Leshchenko 3be5450907 Add an ability to configure Log Level
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-09-09 13:27:23 +03:00
Sergii Leshchenko 5a72fd7471 Update vendor
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-09-09 13:27:23 +03:00
Sergii Leshchenko b353387c50 Add dependency on openshift/api 4.2
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
2019-09-05 11:25:06 +03:00
David Festal 9238446014 Reorder the steps to be consistent with chectl (#77)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-09-04 14:31:43 -04:00
nickboldt 0ee06b58ed no CVE fixes needed so comment out this step for now
Change-Id: Icf5a17b40170a873ae7af79efbb01a10d58bf13d
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-09-04 11:39:23 -04:00
nickboldt fc3f431ff2 use microdnf for CVE fixes, if needed; list installed packages for auditing
Change-Id: I4362ba8fbdc25aee2223eca90f575fe26220d3f1
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-09-04 11:37:22 -04: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 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 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
nickboldt c07e9ea811 fix version - should be 2.0
Change-Id: I06e5f87bf7558f29386fddc0a2aac265ba49eea4
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-08-14 13:17:35 -04:00
Ilya Buziuk 8d3a408e8d rh-che #1499: Adding scripts for setting up nightly CI for che-operator
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2019-08-14 12:03:15 +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
nickboldt eb409c634a [base] Update from ubi8-minimal:8.0-131 to ubi8-minimal:8.0-159
Change-Id: Ib0cc9206e19cb962237586b857943bd1c527019b
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-08-12 17:13:53 -04: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
John Collier 11a60f310f Fix typo in CheCluster CR yaml (#65)
* Fix typo in CheCluster CR yaml

Signed-off-by: John Collier <John.J.Collier@ibm.com>

* Fix unintentional changes in CheCluster CR

Signed-off-by: John Collier <John.J.Collier@ibm.com>
2019-08-07 16:49:21 -04: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
Florent BENOIT 164f562d70
docs(olm): information for generating nightlies (#62)
* docs(olm): information for generating nightlies

Add missing information

Change-Id: Ib9648d16350d0d503a553f5f6a78442f4a2e7141
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2019-08-02 17:37:14 +02:00
Florent Benoit 3d122b3469 docs(kubernetes): Update documentation (description field)
Change-Id: Iadee52710f3579523f8d3f2c3a56b84f2304c07b
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2019-08-02 16:35:27 +02:00
David Festal ebd4d4c5c5 Fix release scripts after first use (#60)
* Remove a weird copy-paste

that produces syntax errors

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

* typo in `nightly` version replacement

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

* Complete PR-preparing script ...

... in order to :
- name the branch with the release number instead of a timestamp
- clone from the `che-incubator` fork
- fetch from the upstream (`operator-framework`) repo
- create the branch starting from the upstream master
- commit the changes
- push the branch to the fork if user creds are provided.

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

* Check that `yq` is available

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

* Provide, in the warning, the command to push again

 as soon as the env variables have ben set.

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

* fix copyrights

Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-26 12:26:52 -04: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
nickboldt 7f4b243301 [base] Update from devtools/go-toolset-rhel7:1.11.5-18.1561731145 to devtools/go-toolset-rhel7:1.11.6-18
Change-Id: I882b5c41a6e2869a53e517a626e661ca526738f7
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-07-25 10:10:43 -04:00
David Festal 40974d5a02
Add the `read-token` role by default for new users (#56)
* Add the `read-token` role by default for new users

Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-24 20:03:14 +02:00
David Festal cc0b59a88c
Fix a typo in the CR of the nightly openshift CSV (#55)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-23 15:45:56 +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 57dcfafc8b
Fix installation defaults for Chectl and OLM files. (#53)
* Make the example CR consistent with OLM files
* Add nighty registry images in the last nightly CSV for the `nightly` channel of the openshift preview OLM package

Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-22 18:57:28 +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
nickboldt d02dd5abbf [base] update from go-toolset-rhel7:1.11.5-18 to CVE fixed version go-toolset-rhel7:1.11.5-18.1561731145
Change-Id: If00f415f947e7ea24df15133396f53dc27a8c04b
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-07-18 10:31:54 -04: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 544d586322
Switch from `eclipse-che` org to `eclipse` (#50)
* Move the operator image to the `eclipse` org
* Various fixes after using it in this PR

Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-16 18:27:57 +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
David Festal 61b2e9902d
Rename commit that should have been done in PR #45 (#47)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-15 16:42:28 +02:00
Lukas Krejci 28126447e5 Add support for configuring devfile registry. 2019-07-15 16:41:03 +02:00
David Festal 4bf6621df1
Manage OLM files (PR #45)
Implementation of issue https://github.com/eclipse/che/issues/13780

* complete cluster role
* update operator.yaml
* Add OLM files for openshift in beta-5 state
* Add RC 2 release CSV
* Reordered beta 5 csv in alphabetic order
* Add first bits of OLM files management
* lowercase `RC` and remove readiness probe
* pre-release (with `rc-2.0`) and nightly channels
* Add the kubernetes version of the OLM package
* Adding operator sources
* `OperatorSource`s should be in distinct namespaces
* Change proposed by @l0rd
* scripts to update nightly CSVs
* script to release OLM files
* Add the script to push OLM files as Quay apps
* Add script to prepare `community-operators` PRs
* script to release the operator Go code
* Rename `*-test-*` to `*-preview-*` and rename the `pre-releases` channel to `stable`
* `9.9.9` as semver-compliant prefix for nightlies

Signed-off-by: David Festal <dfestal@redhat.com>
2019-07-15 15:39:47 +02:00
nickboldt 30f81e1b32 [base] Update from devtools/go-toolset-rhel7:1.11.5-15 to devtools/go-toolset-rhel7:1.11.5-18
Change-Id: Icff7e89e64251dc3cbe8f687f2aebdefd8531052
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-07-05 09:16:31 -04:00
Florent Benoit b52892cae3 chore(github): Update issue template to use external main che repository
Change-Id: Ia023a6e2afacc919bcad12504c9145fc5f9d7590
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2019-07-05 08:14:12 +02:00
Mario Loriedo d545e8b180 Updating codeowners for Che 7 endgame code reviews
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2019-07-03 17:30:32 +02:00
David Festal 1a51c92749 add codeowners (#40)
Signed-off-by: David Festal <dfestal@redhat.com>
2019-06-20 11:36:06 -04:00
Nick Boldt 80c96cc9be CRW-316 we don't need to keep the CRW controller-manifests in this repo (#41)
Change-Id: Ibb7c5b1695e527e5851c3a00f27f0548f553fa73
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-06-20 11:30:38 -04: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
Mario Loriedo a02ad11dfa Update the operator image 2019-06-20 00:22:46 +02:00
Nick Boldt c2ba994b57
Merge pull request #38 from eclipse/change-obsolete-env-variable
Change an obsolete env variable
2019-06-19 11:19:57 -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