Commit Graph

295 Commits (618ad1f1a9bd9d545391e9ed24105d89cd867884)

Author SHA1 Message Date
Oleksandr Andriienko 80e33df8cb
Delete tls switcher. Add plugin and devfile registry links. (#696)
* Fix and improve CR, CRD.
Delete tls switcher. Add plugin and devfile registry links. Remove some aren't popular fields from CR sample. Improve CR sample and CRD descriptions.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-03-04 18:23:58 +02:00
che-bot 9f241d0743
Copy 7.27.0 csv to master (#699)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-03-04 14:06:49 +02:00
Anatolii Bazko 75da259f72
Allow to configure github and bitbucket oauth config (#677)
* Allow to configure github and bitbucket oauth config

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-02-17 14:32:04 +02:00
Oleksandr Andriienko 5f2b348932
Fix some crd typos. (#678)
* Fix some typos.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-16 10:08:00 +02:00
Anatolii Bazko 2f5ec20453
Allow to configure domain to create routes (#666)
* Allow to configure domain to create routes

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-02-15 16:47:40 +02:00
Oleksandr Andriienko 5a81b47dc0 Update olm files.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-12 15:15:59 +02:00
Oleksandr Andriienko e45de4d625 Merge remote-tracking branch 'upstream/master' into createInitialOpenshift4UserForOAuth 2021-02-12 15:08:12 +02:00
Anatolii Bazko dc8d3ef532
Fix typos, improve docs (#671)
* Fix typos, improve docs

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-02-12 13:46:30 +02:00
Oleksandr Andriienko 792fafa931 Update OLM bundle
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-11 19:22:33 +02:00
Oleksandr Andriienko 2b1b22f3b4 Merge remote-tracking branch 'upstream/master' into createInitialOpenshift4UserForOAuth 2021-02-11 19:20:03 +02:00
Oleksandr Andriienko b7f9c2e89b Handle code review feedback.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-11 19:05:50 +02:00
che-bot 17cefa8401
Copy 7.26.0 csv to master (#669)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-02-11 18:52:46 +02:00
Oleksandr Andriienko e74b5352d9 Merge remote-tracking branch 'upstream/master' into createInitialOpenshift4UserForOAuth 2021-02-10 20:01:19 +02:00
Oleksandr Andriienko 6e0d0c88b8 Improve code.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-10 19:56:04 +02:00
Anatolii Bazko 23da45663d
Fix typos, improve doc (#667)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-02-10 15:59:21 +02:00
Oleksandr Andriienko 213b10c9f5 Handle code review changes.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-08 23:06:02 +02:00
Oleksandr Andriienko 72285399fe Fix compilation. Update bundle.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-08 17:53:56 +02:00
Oleksandr Andriienko 583c6fc041 Update OLM bundle.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-08 17:33:03 +02:00
Oleksandr Andriienko 05b87ba235 Merge remote-tracking branch 'upstream/master' into createInitialOpenshift4UserForOAuth 2021-02-08 17:15:28 +02:00
Oleksandr Andriienko 4ee509e08b
CHE-15493: <username>-che as default namespace (#166)
* Set  <username>-che as default namespace for Che workspaces

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-08 09:56:53 +02:00
Oleksandr Andriienko 9be3a816a9 Update bundle.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-29 11:35:37 +02:00
Oleksandr Andriienko a7393b1209 Fix cr yaml.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-29 11:28:00 +02:00
Oleksandr Andriienko 5ee9fb19f3 Update crd.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-28 18:11:50 +02:00
Oleksandr Andriienko 35f38c5bb7 Update OLM bundle
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-28 17:27:20 +02:00
Oleksandr Andriienko c6c7299a17 Merge remote-tracking branch 'upstream/master' into createInitialOpenshift4UserForOAuth 2021-01-28 17:20:35 +02:00
Anatolii Bazko 19e1332171
Fix numerous doc issues (#651)
* Fix numerous doc issues

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-28 14:41:02 +02:00
Oleksandr Andriienko 31d8c300d7 Improve tests. Format cluster-role.yaml.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-28 13:43:03 +02:00
Anatolii Bazko 49bf7c8635
Define Required Metadata Labels on deployment definitions (#603)
* Add default kubernetes labels

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-26 15:50:05 +02:00
Oleksandr Andriienko b895518730 Add ability remove initial user. Fix tests: rework code to make it more testable.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-26 00:15:43 +02:00
Anatolii Bazko d5ea65afdd
Specify resources limits (#612)
* Specify resource limits

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-25 13:48:06 +02:00
Tom George 09b06d3d9f
Add note clarifying that the kubernetes image puller operator is community-supported (#627)
Signed-off-by: Tom George <tgeorge@redhat.com>
2021-01-18 17:05:00 -06:00
Anatolii Bazko a1add39d3c
Drop all capabilities (#622)
* Drop all capabilities

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-18 12:24:37 +02:00
Anatolii Bazko 482155b7e2
Automate the setup of github identity provider with internal keycloak (#589)
* GitHub identity provider provision

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-13 17:06:54 +02:00
Anatolii Bazko aa52e2892b
Add liveness and readiness probes (#610)
* Add liveness and readiness probes

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-08 18:30:58 +02:00
che-bot 5de237a873
Copy 7.24.0 csv to master (#615)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-01-08 16:07:15 +02:00
Anatolii Bazko 2189f6f8ce
Revert recreate strategy and probes for operator (#609)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-06 10:17:04 +02:00
Anatolii Bazko f73542ab93
Set Recreate strategy type for operator deployment (#607)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-05 18:34:50 +02:00
Anatolii Bazko a5902c0274
Improve tlsSecretName description (#600)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-04 11:34:07 +02:00
Anatolii Bazko a622300be2
Remove operator-local.yaml (#599)
* Remove operator-local.yaml

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-12-30 13:30:29 +02:00
Anatolii Bazko 39b7a1e7b8
Add liveness and readiness probes (#598)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-12-30 12:51:46 +02:00
Oleksandr Andriienko 81d0cb603b Create initial Openshift 4 user for oAuth.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-12-27 21:36:33 +02:00
Oleksandr Andriienko ae79476106
Improve oauth handling. (#551)
* Improve oauth handling.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-12-21 10:38:37 +02:00
che-bot ee769ae6fe
Copy 7.23.0 csv to master (#575)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2020-12-14 13:53:15 -05:00
Anatolii Bazko f917b98281
Replace postgres image (#569)
* Update postgre image

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

* Update postgres image

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

* Update nightly bundle

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-12-09 09:16:32 +02:00
Tom George a6848bf1b6
install kubernetes image puller/kip operator from che-operator (#541)
* Allow the che-operator to install the Kubernetes Image Puller operator and configure a KubernetesImagePuller CR in the same namespace that che is installed in.

Adds a new field to the CheCluster CR, imagePuller, that will install the operator and create a CR if enabled.  If disabled, it will uninstall and remove the image puller artifacts.

Signed-off-by: Tom George <tgeorge@redhat.com>
2020-12-08 08:53:24 -06:00
Michal Vala 9c496c03ca
remove default cheClusterRole that failed olm deployment (#565)
Signed-off-by: Michal Vala <mvala@redhat.com>
2020-12-04 16:16:26 +02:00
Michal Vala cd239ce7a4
Gh18399 che SA cluster roles (#543)
Signed-off-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2020-12-02 18:03:11 +01:00
Oleksandr Andriienko 73053b2bc4
Provide internal network urls for plugin registry, devfile registry and internal che api endpoint url. (#468)
* Provide internal network urls for plugin, devfile registries and internal che api endpoint url.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-11-26 13:54:26 +02:00
Valeriy Svydenko 2e0bfecd45
Add metrics role and extend view role (#519)
* Extend view role. Add a role for metrics api

Signed-off-by: svor <vsvydenk@redhat.com>
2020-11-23 10:51:26 +02:00
Oleksandr Andriienko 4c194ddeb5
fix: Fix scripts and che-types to use newer operator-sdk (#533)
* fix: Fix scripts and che-types to use newer operator-sdk

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-11-17 11:38:34 +02:00
Michal Vala bfdc529fca
prepare operator namespaces cluster-role (#520) 2020-11-13 13:07:00 +01:00
Tom George 24fb122aa8
Operator sdk 0.15.2 (#515)
Upgrade che-operator to use operator-sdk version 0.15.2 APIs, and newer kubernetes APIs

Signed-off-by: Tom George <tgeorge@redhat.com>
2020-11-11 11:15:55 -06:00
Oleksandr Andriienko b893a2785a
Revert add bundle commit github action. We can't use it for protected master branch. (#523)
* Revert add bundle commit github action. We can't use it for protected master branch.

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

* Update nightly bundle.

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

* Pin ubuntu version for push github action.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-11-07 00:43:09 +02:00
Mykola Morhun 390b3fe061
Implement ability to use default ingress TLS certificate (#508)
Implement ability to use default ingress TLS certificate
2020-11-06 14:51:42 +02:00
Anatolii Bazko 16232ecec6
set preserveUnknownFields: false for nighlty bundle (#509)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-10-30 10:27:20 +02:00
Mykhailo Kuznietsov 15e3a6e790
Copy 7.20.0 csv to master (#496)
* Copy 7.20.0 csv to master

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

* Remove 'replaces' from the very first csv

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

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2020-10-15 18:11:20 +03:00
Nick Boldt 227046459c
fix: Revert "CRW-1254 can we use the standard ubi URLs" (turns out no, it breaks stuff); also bump versions to 7.20.0-13.nightly (#494)
* Revert "CRW-1254 can we use the standard,... (#484)"

This reverts commit c5ab66b099.

* bump versions to 7.20.0-13.nightly

Change-Id: I7006cbb4676157e0837e1cd5df702c4165bb5c91
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-10-13 12:06:49 -04:00
Nick Boldt c5ab66b099
CRW-1254 can we use the standard,... (#484)
* CRW-1254 can we use the standard, non-deprecated registry registry.redhat.io instead of registry.access.redhat.com for ubi minimal images? also we should use the safer path /ubi8/ubi-minimal vs. /ubi8-minimal so that OCP 4.x airgap mirroring works

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

* revert to registry.access.redhat.com, but keep ubi8/ubi-minimal instead of ubi8-minimal

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

* include generated che-operator.clusterserviceversion.yaml files thanks to ./olm/update-nightly-bundle.sh and operator-sdk 0.10.1

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

* Update csv files

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

Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2020-10-07 10:32:29 +03:00
Anatolii Bazko 87c0b2b80a
Add some notes about wildcard domains in nonProxyHosts field (#476)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-09-29 09:52:08 +03:00
Anatolii Bazko 37e6a9d18f
Define labels for route/ingress (#449)
* Define labels for route/ingress

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-09-25 14:17:19 +03:00
Mykhailo Kuznietsov 2ba993381c
Copy 7.19.0 csv to master (#471)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2020-09-24 19:40:28 +03:00
Oleksandr Andriienko c08ce0c2d1
Recovery openshift CSV description. (#467)
* Recovery openshift CSV description.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-09-23 17:20:56 +03:00
Oleksandr Andriienko 0a54abd1e1
Fix olm samples format in the nightly CSV files (#459)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-09-22 20:20:14 +03:00
Anatolii Bazko ec867e2a1d
Set default value to {} for singleHostGatewayConfigMapLabels (#447)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-09-17 11:04:35 +03:00
Lukas Krejci bda65a4e40
Manage the Traefik gateway for implementing single host on OpenShift (#378)
Co-authored-by: Michal Vala <michal.vala@gmail.com>
2020-09-16 15:21:57 +02:00
Anatolii Bazko c9543a50a3
Moves images updating to update-nightly-bundle.sh. script (#442)
* Move updating images into update-nightly-bundle.sh. script

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-09-16 10:09:42 +03:00
Oleksandr Andriienko da3193065c
Fix nightly stable version. (#443)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-09-14 14:22:02 +03:00
Oleksandr Andriienko 84ac62cbd3
Use new opm bundle format. (#423)
* Use new opm bundle format.

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

* Fix csv file. Check works :)

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

* Add old files to pass check...

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

* Improve code.

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

* Code clean up. Remove separated code for crc in the TestCatalogSource.sh. Test works for Crc in the same way like Openshift ci. Fix build opm bundle script.

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

* Make bigger timeout for minishift ci test.

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

* Remove not used script testCSV.sh. Update contribution README.md. Worked on fix minishift CI test.

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

* Use eclipse image registry to push images.

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

* Fix and simplify testUpdate.sh for openshift nightly channel.

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

* Improve docs. Provide buildFirstBundle.sh script for dev purpose.

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

* Add more info to the docs.

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

* Improve docs about private registry

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

* Use only nightly in the nightly bundles.

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

* Fix README.md typos.

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

* Handle requested code review changes.

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

* Pr code check works notified me one time :) . So update nightly bundle and fix some docs.

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

* Fix testCatalogSource.sh

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

* Remove accidentally commited generated file.

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

* Update gitignore.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-09-10 10:33:24 +03:00
Angel Misevski c8b31fbc96 Update plugin brokers to v3.4.0
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2020-09-08 14:52:52 -04:00
Mykola Morhun dc1ef99394
Update nightly OLM files to use plugin broker v3.3.0 (#415)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-08-20 17:27:02 +03:00
Mykhailo Kuznietsov 9a0a7cdab7
Copy nightly csv to master (#408)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2020-08-19 18:10:27 +03:00
Anatolii Bazko bcf77d451b
Allow to customize cheHost (#380)
* Allow to customize cheHost

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-08-12 11:21:01 +03:00
Anatolii Bazko bd8679d5a5
Set the default value for openShiftoAuth to true (#391)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-08-10 10:01:08 +03:00
Mykhailo Kuznietsov 57ea0f86f8
Copy nightly csv to master (#369)
* Copy nightly csv to master

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:14:02 +03:00
Mykhailo Kuznietsov 1c223e17a6
Copy nightly csv to master (#351)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2020-07-18 00:56:41 +03: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
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 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
Mario Loriedo a02ad11dfa Update the operator image 2019-06-20 00:22:46 +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 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
John Collier 25ef5ddb5c Use extensions apiGroup instead of extensions/v1beta1 (#17)
Signed-off-by: John Collier <John.J.Collier@ibm.com>
2019-05-14 17:00:22 +03:00
eivantsov 8396830a90
fix field name
Use identityProviderImage instead of keycloakImage
2019-05-11 19:42:59 +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
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 585106b2db Fix json tag 2019-04-17 08:37:42 +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 48db0ea5b8 Add docs 2019-03-22 11:02:34 +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
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 ee7364a153
Use eclipse-image 2019-01-30 14:22:26 +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