Commit Graph

81 Commits (8d62067c2ca6d206e6c54f22fcd6c256a56ce5be)

Author SHA1 Message Date
Nick Boldt 152758c9f6
fix crw defaults in master (#168)
* fix crw defaults in master

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

fix copyright

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

* update to latest base

Change-Id: I17d578b8a73b905399434888831124f7986de829
Signed-off-by: nickboldt <nboldt@redhat.com>
2020-02-07 01:47:12 -05:00
Anatolii Bazko 5039e1fdb2
Disable readiness probe in case of debug Eclipse Che Server (#160)
* Disable readeness probe in case of debug

Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-02-04 11:11:42 +02:00
Anatolii Bazko 64a5ea9cad
Release 7.8.0 (#163)
* Release 7.8.0

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

* Update pkg/deploy/defaults.go

Co-Authored-By: David Festal <dfestal@redhat.com>

* Update pkg/deploy/defaults.go

Co-Authored-By: David Festal <dfestal@redhat.com>

Co-authored-by: David Festal <dfestal@redhat.com>
2020-02-03 15:47:48 +02:00
Tom George fe7335f03b Wording corrections
Signed-off-by: Tom George <tg82490@gmail.com>
2020-01-22 16:29:03 +01:00
Tom George db270e0b78 Add the debug port to che-host svc to expose the debug port
Signed-off-by: Tom George <tg82490@gmail.com>
2020-01-22 16:29:03 +01:00
Anatoliy Bazko 681cd9a87f Update images to point to quay.io
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-01-20 14:12:20 +02:00
Anatoliy Bazko 3911a7d0a1 Update default tags to 7.7.1
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2020-01-20 12:29:59 +02:00
David Festal 60eff6baf2 Update default tags to `7.7.0`
Signed-off-by: David Festal <dfestal@redhat.com>
2020-01-11 12:14:36 +01: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
Ilya Buziuk a836db8567 che #15504 Release '7.6.0' - update defaults.go files
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2019-12-20 16:46:05 +01:00
David Festal df0be398ef
Release 7.5.1 (#138)
* Update default tags to `7.5.1`
* Release OLM files to `7.5.1`

Signed-off-by: David Festal <dfestal@redhat.com>
2019-12-11 16:47:45 +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
Max Shaposhnik 2a4d58d96f Align JGroups labels property name; 2019-11-22 09:42:46 +02:00
Max Shaposhnik 5688667048 Add environment variable for Jgroups labels; (#126) 2019-11-21 10:49:39 +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
David Festal 6567346f54 Merge pull request #120 from eclipse/fix-jira-crw-455-fixup
fix: This is a fixup of PR #119 (Provide easier migration from 1.2 to 2.0)
2019-11-15 11:40:40 +01:00
David Festal 5a5ea30137 Provide easier migration from 1.2 to 2.0 (#119)
* put back `che` as default for consistency with doc
* Fix https://issues.jboss.org/browse/CRW-455
* Complete the cleaning correctly.

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

Conflicts:
	pkg/deploy/defaults.go
2019-11-15 11:40:40 +01:00
David Festal 9d32683d53 Fix jira issue CRW-468 (#115)
Signed-off-by: David Festal <dfestal@redhat.com>
Conflicts:
	pkg/deploy/extra_images.go
2019-11-15 11:40:40 +01:00
Lukas Krejci bed4e49e4c Support for the new way of specifying the workspace namespace in Che.
The default is still the current namespace if there is no oauth in the infra

With Openshift OAuth, the namespace is now "<username>-che" or
"<username>-codeready" depending on the che flavor.
2019-11-12 15:23:59 +02:00
David Festal 36e666c312
Release 7.4.0 (#118)
* Update default tags to `7.4.0`
* Release OLM files to `7.4.0`

Signed-off-by: David Festal <dfestal@redhat.com>
2019-11-12 13:55:36 +01:00
Ilya Buziuk caf722b98a che #14947 changing defaults for 7.3.1 release
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2019-10-31 08:45:34 +01:00
David Festal 502c589a06
Fix a test whose compilation has been broken... (#110)
... in a previous PR

Signed-off-by: David Festal <dfestal@redhat.com>
2019-10-30 10:32:06 +01:00
Angel Misevski 4e02c2eca3 Remove BootstrapperBinaryUrl (#107)
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2019-10-30 09:40:40 +01:00
Tom George 17fef8afeb Change tests so that they do not depend on hard coded image names (#108)
Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-30 09:38:37 +01:00
nickboldt 6cb0325beb Revert "CRW-380 use quay.io/crw URLs since those exist, and the reg.rh.io ones do not yet exist"
This reverts commit 2043f598cb.
2019-10-29 17:08:00 -04:00
nickboldt 2043f598cb CRW-380 use quay.io/crw URLs since those exist, and the reg.rh.io ones do not yet exist
Change-Id: I2325cb543faaf2619ea2d4b400d3650d8a5c8121
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-10-28 17:30:04 -04:00
Tom George bda521c3b2 Patch the PVC job image when in airgap (#103)
Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-28 11:05:39 +01:00
Tom George 0e99d74385 Set CHE_DEVFILE_REGISTRY_URL to allow airgap operation (#102)
* Set CHE_DEVFILE_HTTPS_ENDPOINT and react to changes on it
* Change HTTPS_ENDPOINT to REGISTRY_URL
* Only set the devfile registry URL to the autogenerated one when we are not using an external devfile registry

Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-28 10:07:55 +01:00
Ilya Buziuk 4b0b485ec6 che #14809 Enable CodeReady branding on the ConsoleLink elements created by the che operator with 'codeready' flavor
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2019-10-25 12:49:45 +02:00
David Festal 46b19094b7 Update default tags to `7.3.0`
Signed-off-by: David Festal <dfestal@redhat.com>
2019-10-21 17:22:56 +02:00
Max Shaposhnik 8d520f3150 Fix property name to avoid JGroups4 warnings; (#98) 2019-10-18 14:42:07 +02:00
nickboldt d52c83feb5 upgrade to SSO 7.3.4 (CRW-202)
Change-Id: Ib8ea5638ca2b1cf8c4c344950637082b5e4c639b
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-10-15 15:58:51 -04:00
Tom George 663d42264c Configure the operator to deploy airgapped versions of the devfile and plugin registries (#93)
* Add a script to generate extra_images.go, only add the extra images data to che configmap if we are in airgap mode
* Initial implementation of adding configmaps to registries
* Add owner reference to the configmap
* Update plugin and devfile registries when a change to either airgap property occurs

Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-14 14:47:08 +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
Tom George 202b3e25b2 Add airgap mode (#91)
* Determine if we are in airgap mode and patch the images appropriately
* Do the rest of the images in the che deployment
* Add map of extra images for airgap
* Add a script to generate extra_images.go, only add the extra images data to che configmap if we are in airgap mode
* Download the release version of che.properties
* Remove unnecessary properties
* Remove airGapMode boolean, make it so that setting either the airGapHostname/Organization will start the deployment in airgap mode

Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-11 18:19:38 +02:00
nickboldt 2bea267149 update to latest defaults postgres, keycloak/sso, and PVC/UBI images; add script to poll for new images automatically and offer changes to be committed
Change-Id: I7c59d3aa25b816d0787157c921bc594ac8019b86
Signed-off-by: nickboldt <nboldt@redhat.com>
2019-10-07 12:45:08 -04:00
Tom George 9a4b8f2618 Add CustomCheProperties field (#87)
* Fix a linter error
* Fix a couple of tests that assume openshift v3 APIs
* Add overrideCheProperties to allow custom properties in the che config map
  - If the custom configmap exists for some reason, merge it with the che configmap, and then delete it
  - Rename GetCustomConfigMapData to GetPredefinedConfigMapData since we are not using the custom config map anymore
* Merge custom configmap into overrideCheProperties and delete it if it exists
* change OverrideCheProperties to CustomCheProperties, make it a type of map[string]string
* Correct error handling of custom config map and move it up higher in the reconciliation function
* Add serviceaccountname to Che configmap, remove GetPredefinedConfigMapData()
* Update CR then delete configmap
* Add license back
* Format license block

Signed-off-by: Tom George <tg82490@gmail.com>
2019-10-07 13:53:37 +02:00
Sergii Kabashniuk 2ba0cb15c4
Sync default properties with upstream (#86)
Removed some defaults to be closer to upstream configuration

CHE_PREDEFINED_STACKS_RELOAD__ON__START - not used in Che 7
CHE_WORKSPACE_AUTO_START - wrong parameter, has to be CHE_WORKSPACE_AUTO__START, upstream default value - true
CHE_INFRA_KUBERNETES_WORKSPACE__UNRECOVERABLE__EVENTS - upstream value FailedMount,FailedScheduling,MountVolume.SetUp failed,Failed to pull image,FailedCreate
CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT - upstream value 1800000
CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME - Not changed since it has NULL value in upstream. To remove it we need to investigate if it's safe to do or not.
2019-10-04 13:32:39 +02:00
David Festal c8a1d8f592
Release 7.2.0 (#85)
* Support tabs Go files
* Update default tags to `7.2.0`
* Release OLM files to `7.2.0`

Signed-off-by: David Festal <dfestal@redhat.com>
2019-10-03 10:25:09 +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
Lukas Krejci 3a28252487 Bring che operator in line with the latest changes coming to Che server (#73)
Bring che operator in line with the latest changes coming to Che server to support single-host mode.
2019-09-10 16:07:35 +02:00
David Festal a24ed3760a
Release 7.1.0 (#78)
* Fix the release script
* Update default tags to `7.1.0`
* Slightly fix the OLM release script to produce meaningful diffs
* Release OLM files to `7.1.0`

Signed-off-by: David Festal <dfestal@redhat.com>
2019-09-09 18:56:55 +02:00
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
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 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