Commit Graph

73 Commits (4828ea3a90efbf48aafbfa8ea4648b761490f1c7)

Author SHA1 Message Date
Mykhailo Kuznietsov ef006472aa
Release version 7.16.2 (#375)
* Update defaults tags to 7.16.2

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* Update nightly olm files

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* Release OLM files to 7.16.2

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* Revert "Update nightly olm files"

This reverts commit d646738509.
2020-07-31 15:56:46 +03:00
Mykhailo Kuznietsov ce7a38991e
Release version 7.16.1 (#368)
* Update defaults tags to 7.16.1

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* Release OLM files to 7.16.1

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* Fix minishift update test script

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2020-07-29 21:13:54 +03:00
Mykhailo Kuznietsov 0a4353490a
Release version 7.16.0 (#350)
* Update defaults tags to 7.16.0

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* Update nightly olm files

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

* Release OLM files to 7.16.0

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2020-07-17 17:48:19 -04:00
Anatolii Bazko 64e4b48cb3
Update CRD to mention OpenShift cluster wide proxy support (#333)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-07-10 10:05:52 +03:00
Anatolii Bazko 110149a5c7
Respect openshift cluster wide proxy (#272)
* Respect OpenShift cluster wide proxy

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-07-08 16:08:20 +03:00
Oleksandr Andriienko adfe698031
feature: Use image digest in csv (#274)
* Use image digest in the released csvs. Use correct image for e2e tests. Use correct operator image for olm tests.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-07-08 10:43:35 +03:00
Ilya Buziuk d299b35e23 che #17186 Updating CRD file
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2020-07-06 10:08:59 +02:00
Ilya Buziuk cf2ef88f9e che #17186 Enabling metrics by default
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2020-07-06 10:08:59 +02:00
Mykhailo Kuznietsov 5cbf73146b Copy nightly csv to master
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2020-06-25 14:07:41 +03:00
Mykola Morhun 912fd52fc4
Implement autodetetion for self-signed certificate flag (#301)
Implement autodecetion for self-signed certificate flag

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-06-15 11:01:46 +03:00
Anatoliy Bazko 4bdbc5b27c Copy nightly csv to master
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-27 16:32:37 +03:00
Anatoliy Bazko 7daa16460b Copy nightly csv to master
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-21 09:11:18 +03:00
Anatoliy Bazko b4d16d2a35 Copy nightly csv to master
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-15 18:38:18 +03:00
Oleksandr Andriienko 03978b3724
fix: Check identity providers for oauth instead of check amount users. (#248)
* Back off openshift oauth, when oauth can't be used

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Use freezed go modules.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add newer olm bundle.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-05-15 11:43:58 +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
Mykola Morhun 0c671d8a11
Make default Keycloak password generated (#240)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-05-07 15:28:41 +03:00
Anatoliy Bazko 69a6007c56 Update make-release.sh, set nightly tags for master
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-07 13:34:52 +03:00
Anatolii Bazko b0a62e0f4d
Merge pull request #235 from nickboldt/fixup-org_v1_che_cr.yaml-doc
fix doc in org_v1_che_cr.yaml: version of...
2020-05-05 08:17:14 +03:00
nickboldt 140a030ab7 point to actual place where hardcoded default lives
Change-Id: If93c26307caf1a3ff0a44490d47435eb5b6b361d
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-05-04 14:29:35 -04:00
Anatoliy Bazko 5f8d79810c Port 7.12.1 csv to master
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-05-02 15:48:52 +03:00
nickboldt c4ef964aa2 fix doc in org_v1_che_cr.yaml: version of registry.redhat.io/rhscl/postgresql-96-rhel7 used is NOT in pkg/deploy/defaults.go, but in the operator metadata CSV now
Change-Id: I8c0630b86fe78d5e7f3869b82a0633bb3b9d2174
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-05-01 12:06:33 -04:00
Mykola Morhun bc47b7b1af
Automate TLS secrets generation for Kubernetes family infrastructures (#220)
* Automate TLS secrets generation for Kubernetes family infrastructures

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-04-28 16:48:58 +03:00
Anatolii Bazko e655435d5d
Release version 7.12.0 (#228)
* Update defaults tags to 7.12.0

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Update nightly olm files

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Release OLM files to 7.12.0

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Fix release script

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-04-24 14:14:20 +03:00
Anatolii Bazko bbc7579a55
Release version 7.11.0 (#215)
* Update defaults tags to 7.11.0

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Update nightly olm files

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Release OLM files to 7.11.0

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Fix olm.sh

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Minor fixes of the release process

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-04-08 10:35:51 +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
Anatolii Bazko 9fce59a932
Release 7.10.0 (#195)
* Update defaults tags to 7.10.0

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Update nightly olm files

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Release OLM files to 7.10.0

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-16 13:49:39 +02:00
Mykola Morhun d92ad728ba
Set tlsSupport to true by default (#186)
* Set tlsSupport to true by default

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>

* Update nightly olm files

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

Co-authored-by: Anatoliy Bazko <abazko@redhat.com>
2020-03-09 11:53:14 +02:00
Nick Boldt 682e4f14b4
bump to latest... (#181)
* bump to latest registry.access.redhat.com/ubi8-minimal:8.1-398

Change-Id: I5a648aba1bca8c9dbacdff0bcf4722684d27a78a
Signed-off-by: nickboldt <nboldt@redhat.com>

* run olm/update-nightly-olm-files.sh to generate fresh 9.9.9 csvs and diffs

Change-Id: I623fc973285cbdc0548143abe90e4df7f108dff4
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-03-04 12:07:28 -05:00
Igor Vinokur f288238f37
Propagate custom public certificates to volume mount (#171) 2020-03-04 10:53:33 +02:00
Anatolii Bazko e1c8c87399
Release 7.9.0 (#179)
* Update defaults tags to 7.9.0
* Update nightly olm files
* Release OLM files to 7.9.0

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-02-24 16:46:39 +02:00
Oleksandr Andriienko e9c5d3f312
feat: Remove image refs in `defaults.go` and replace by env vars (#172)
* Move image related default variables to the operator env.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix tests.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Use the same env name for CRW and Upstream Che

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Clean up.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Improve most che-operator env names

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Use cheImage instead of repo only in the envs. Rename cheImageTag to cheVersion.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add forgotten che-image tag to IMAGE_default_che_server

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add some logic for back compatibilty with Che 7.8.0

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Handle one of the realese scripts.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix GetFullCheServerImageLink

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Remove extra_images.go

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Fix tests

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>

* Improve release scripts.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Add docker images env to operator-local.yaml

Signed-off-by: flacatus <flacatus@redhat.com>

* Che 15874 - fix wrong docker images and update olm files (#174)

* Fix wrong docker images values

The docker images set in this GH repo should be the upstream ones,
not the CRW ones

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

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Flavius Lacatusu <59865209+flacatus@users.noreply.github.com>
Co-authored-by: David Festal <dfestal@redhat.com>
2020-02-18 10:17:21 +02:00
Anatoliy Bazko 9b97299a2a Fix CR to use quay.io/eclipse/che-keycloak:nightly
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-01-29 09:44:01 +02:00
David Festal 15b75be25c
Fix crd inconsistencies (#145)
* Fix inconsistencies between Go API and CRD
* Update nightly OLM files vs last CRDs

Signed-off-by: David Festal <dfestal@redhat.com>
2020-01-11 11:38:53 +01:00
Igor Vinokur 2e47c33317
Add missing separating spaces to che_crd.yaml (#143)
The gitSelfSignedCert item has incorrect description format. This fixes the formatting and prevents an error:
2019-12-26 15:00:08 +02:00
Igor Vinokur c6737105d6
Support git self-signed SSL certs (#142)
Add new boolean property gitSelfSignedCertthat applies environment variables that contain SSL certificate and git host written from che-git-self-signed-cert config map.
The same logic is applied for the helm deployment: eclipse/che#15218

fixes eclipse/che#15285

Docs PR: eclipse/che-docs#1001

Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
2019-12-26 10:23:11 +02:00
David Festal 37d0f4bfca
Fix a CRD change that is incompatible with OS 3.11 (#140)
* Fix a CRD change that is incompatible with OS 3.11
* Update Readme

Signed-off-by: David Festal <dfestal@redhat.com>
2019-12-16 14:56:57 +01:00
Michal Vala 8ee9b4ea58
Support workspace namespace configuration (#136)
Signed-off-by: Michal Vala <mvala@redhat.com>
2019-12-04 14:30:24 +01:00
Michal Vala f94a7a46f5
add missing license headers (#135)
Signed-off-by: Michal Vala <mvala@redhat.com>
2019-11-29 10:28:36 +01:00
Michal Vala a85031793a
Option to enable che-server metrics endpoint (#117)
Signed-off-by: Michal Vala <mvala@redhat.com>
2019-11-28 23:05:28 +01: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
Sergii Leshchenko 4d15f5df2b Use common PVC strategy by default 2019-11-12 15:23:59 +02: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 387cbeccd6 Don't hard-code the `che` realm !
Signed-off-by: David Festal <dfestal@redhat.com>
2019-09-10 09:19:02 -04: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
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
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
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 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 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