Commit Graph

1687 Commits (d295ee14927f5f0877a1bcc9bbeef0c8ed2d20cf)

Author SHA1 Message Date
Angel Misevski d295ee1492 Update how too-long endpoint hostnames are handled
Update the hostname format used for endpoints whose hostnames are too
long from

  <workspace-id>-<order>.<base-domain>

to

  <workspace-id>-<endpoint-name>.<base-domain>

This is necessary as the iteration order through endpoints is random
(iterating through Go maps is random), resulting in inconsistent numbers
used for <order>.

Using a combination of workspace ID and endpoint name should always be
valid:

* Workspace IDs are 25 characters long
* Endpoint names are restricted to max 15 characters by the Devfile API
* Endpoint names and workspace IDs are required to be alphanumeric with
  dashes, starting and ending with an alphanumeric character
* Endpoint names are unique across all endpoints in the workspace

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2024-01-23 15:51:34 -05:00
Nick Boldt 4de7be5489
chore: remove Nick and Mario as code owners; add Sam (#1802)
Change-Id: I4132318c90086facfbd91090e7b9f0f07b6c0e4a

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2024-01-22 18:57:28 +01:00
Igor Vinokur 7c7bd4f796
Add Kubernetes host to the no proxy list (#1800)
Add Kubernetes host to the no proxy list
2024-01-18 20:06:16 +02:00
che-bot c738dc70fc
chore: Update from ubi8/go-toolset:1.20.10-3 to ubi8/go-toolset:1.20.10-10 (#1798)
* chore: Update from ubi8/go-toolset:1.20.10-3 to ubi8/go-toolset:1.20.10-10

Signed-off-by: Nick Boldt <nboldt@redhat.com>

* chore: Update from ubi8-minimal:8.9-1029 to ubi8-minimal:8.9-1108

Signed-off-by: Nick Boldt <nboldt@redhat.com>

---------

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2024-01-15 17:18:46 +01:00
che-bot ccc74664bd
ci: Copy 7.80.0 csv to main (#1797)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2024-01-12 20:34:19 +01:00
che-bot b0a81b7b9b
ci: Copy 7.79.0 csv to main (#1795)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-12-23 17:28:42 +01:00
Nick Boldt 8dc7d82ba6
chore: CRW-5336 bump up to Traefik 2.9.10 (last 2.9.z that builds with golang 1.20) (#1793)
* chore: CRW-5336 bump up to Traefik 2.9.10 (last 2.9.z that builds with golang 1.20)

Change-Id: I56806f25fb8e62dc3e6ece4ca4f458a7418f53cf
Signed-off-by: nickboldt <nickboldt@gmail.com>

* run: make update-dev-resources

Change-Id: I7bb922bb57ed2602fcf4fd0f6ab912f025011eb7
Signed-off-by: nickboldt <nickboldt@gmail.com>

* Update resources

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

---------

Signed-off-by: nickboldt <nickboldt@gmail.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2023-12-06 10:39:46 -04:00
Anatolii Bazko d99f8923f8
feat: Advanced authorization (#1789)
* feat: Advanced authorization

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-12-04 17:09:27 +01:00
che-bot 038eaa55f4
ci: Copy 7.78.0 csv to main (#1792)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-30 09:17:36 +01:00
Mykhailo Kuznietsov 137e44f330
fix: more fixes for gh command (#1790)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-29 18:04:06 +02:00
Ilya Buziuk 67fd655d9f fix: Removing '-Dcom.redhat.fips=false' from the default JAVA_OPTS
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
2023-11-22 19:07:09 +01:00
Anatolii Bazko afa38e288c
feat: Allow to mount secrets into che containers as subpath (#1788)
* feat: Allow to mount secrets into che containers as subpath

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

* feat: Allow to mount configmaps into che containers as subpath

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

---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-11-22 12:56:54 +01:00
Anatolii Bazko 14eed756f4
chore: Increase memory limits to 1Gi (#1785)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-11-20 15:30:22 +01:00
che-bot 45a9bb2d2a
chore: Update from ubi8/go-toolset:1.19.13-2 to ubi8/go-toolset:1.20.10-3 (#1783)
* chore: Update from ubi8/go-toolset:1.19.13-2 to ubi8/go-toolset:1.20.10-3

Signed-off-by: Nick Boldt <nboldt@redhat.com>

* chore: Update from ubi8-minimal:8.8-1072 to ubi8-minimal:8.9-1029

Signed-off-by: Nick Boldt <nboldt@redhat.com>

---------

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-11-19 23:45:02 -04:00
Mykhailo Kuznietsov 8e8e2188f7
fix: che-22646 gh command needs fill flag when body is defined (#1780)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-13 10:29:18 +02:00
che-bot 5d1a58db3c
ci: Copy 7.77.0 csv to main (#1779)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-11-10 11:48:45 +01:00
Samantha Dawley b787d7b22c
Fix: Changing scripts to use gh instead of hub for Che #22646 (#1776) 2023-11-09 14:25:07 +02:00
Anatolii Bazko a4e19ead9d
chore: Update dev resources (#1774)
* chore: Update dev resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-11-02 15:16:31 +01:00
Samantha Dawley 95351dfad4
Updating go (to match Dockerfile) and golang.org/x/net (#1772)
* Updating go and golang.org/x/net

* Add vendor updates

* Reverting change of go version since tidy only supports 1.18

* Update additional files to use go 1.19.13

* ran update-go-dependencies

* run 'make fmt' to fix formatting issues

Change-Id: I6280c8b6851d83ec69d7d9898ae48ae583dc2dfe
Signed-off-by: Nick Boldt <nboldt@redhat.com>

---------

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-10-31 16:48:38 +01:00
Anatolii Bazko bdfe80f843
feat: Allow to configure 2 github providers simultaneously (#1773)
* feat: Allow to configure 2 github providers simultaneously

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


---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-10-30 09:31:50 +01:00
Samantha Dawley 7997df38dc
Merge pull request #1770 from eclipse-che/4933
Check in go changes for CRW-4933 to main
2023-10-23 17:53:26 -04:00
sdawley b488bb276c Check in go changes for CRW-4933 to main 2023-10-20 13:12:56 -07:00
Angel Misevski 851f110311 Add documentation on why proxy configuration is disabled in DWO
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2023-10-19 13:10:10 -04:00
Angel Misevski 85da4743ef Update tests to include both http_proxy and HTTP_proxy
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2023-10-19 13:10:10 -04:00
Angel Misevski 4b86b1eba6 Set lowercase version of proxy env vars in addition to uppercase
To hopefully ensure all tools respect proxy settings for a workspace,
add both upper- and lower-case versions of the proxy environment
variables to workspaces.

For example, curl will only use the lower-case http_proxy, and will
ignore HTTP_PROXY.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2023-10-19 13:10:10 -04:00
Angel Misevski 387f676773 Disable DWO's workspace proxy handling when proxy configuration is detected
If we allow the DevWorkspace Operator to handle proxy settings for workspaces,
it will add proxy environment variables to workspace containers with the
values it detects on the cluster (or through its own
DevWorkspaceOperatorConfig)

Since these environment variables are defined in the deployment yaml,
their values override values for proxy environment variables defined by
the automount 'proxy-config' configmap.

To avoid this, we configure DWO to not set any proxy settings for
workspaces we manage.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2023-10-19 13:10:10 -04:00
Angel Misevski fb972f93e7 Upgrade DWO dependency to v0.23.0
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2023-10-19 13:10:10 -04:00
Nick Boldt 5541583adb
add hub to release-che-docs.yml too (#1769)
Change-Id: I849403b0101dc33704e2873fcaae3140d1955989

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-10-19 12:43:10 -03:00
Nick Boldt 2bbf481fda
install hub and other deps (#1768)
Change-Id: Ic7d07cec47251a763f1c10e75dce0c16a2b2e265

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-10-19 12:27:24 -03:00
che-bot 9754a1b666
ci: Copy 7.76.0 csv to main (#1767)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-10-19 10:53:03 +02:00
Samantha Dawley db422eb897
Merge pull request #1765 from eclipse-che/SDawley-patch-1
Add hub to release.yml
2023-10-18 19:27:37 -04:00
Samantha Dawley 4eaedcfc7e
Add hub to release.yml
Seems hub is no longer included in Ubuntu,  installing it manually
2023-10-18 19:22:36 -04:00
Tibor Dancs af6dd52558
Updated PR-Check script to use SmokeTest (#1763)
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2023-10-16 09:01:16 +02:00
Anatolii Bazko 8502b8b0b9
chore: Configure Dashboard log level (#1761)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-10-04 09:15:45 +02:00
Anatolii Bazko a75d1857cc
feat: Allow to configure CookieExpire timeframe (#1760)
* feat: Allow to configure CookieExpire timeframe

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-09-29 16:19:31 +02:00
che-bot c06af030eb
ci: Copy 7.75.0 csv to main (#1759)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-09-28 10:02:59 +02:00
che-bot 5f0843ab26
chore: Update from ubi8/go-toolset:1.19.10-10 to ubi8/go-toolset:1.19.10-16 (#1757)
* chore: Update from ubi8/go-toolset:1.19.10-10 to ubi8/go-toolset:1.19.10-16

Signed-off-by: Nick Boldt <nboldt@redhat.com>

* chore: Update from ubi8-minimal:8.8-1037 to ubi8-minimal:8.8-1072

Signed-off-by: Nick Boldt <nboldt@redhat.com>

---------

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-09-25 08:55:30 +02:00
Anatolii Bazko 203fb2794d
feat: Update docker-run.sh script (#1756)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-09-22 14:23:52 +02:00
Mykhailo Kuznietsov 5d702069dd
feat: Add customized container for Devfile (#1753)
---------

Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mario Loriedo <mario.loriedo@gmail.com>
2023-09-19 17:03:33 +03:00
David Kwon 328a2dff18
Add attributes to set gateway container log level in Che CR (#1748)
feat: set traefik and kube-rbac-proxy log level in CR

Signed-off-by: dkwon17 <dakwon@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2023-09-13 15:43:42 -04:00
Nick Boldt 6394fccea2
chore: disable mattermost notification as it doesn't work (#1752)
Change-Id: I9c8742a02305e24daff786ef84e86989e99aecca

Signed-off-by: Nick Boldt <nboldt@redhat.com>
2023-09-11 14:21:00 -03:00
che-bot 95b4c64319
ci: Copy 7.74.0 csv to main (#1751)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-09-07 16:17:22 +02:00
Anatolii Bazko 72e7852712
chore: Allow che-dasbhoard SA to read ConfigMap in eclipse-che namespace (#1749)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-09-04 17:33:31 +02:00
Anatolii Bazko 6cf8df2b86
feat: Allow to configure ImagePullPolicyt for a user workspace (#1747)
* fear: Allow to configure ImagePullPolicy for a user workspace

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-08-23 09:50:26 +02:00
che-bot 65199e6815
ci: Copy 7.73.0 csv to main (#1746)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-08-20 21:14:35 +02:00
Samantha Dawley 1603a2819c
22407 - Remove Mattermost notification (#1744)
https://github.com/eclipse/che/issues/22407
Comment out the mattermost notification so it doesn't fail the release workflow, but leaving it in the file so I remember to replace it.
2023-08-17 09:27:56 +02:00
Anatolii Bazko ea78a2ceb7
chore: operator should not revert readiness and liveness prob configurations (#1743)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-08-16 08:08:45 +02:00
che-bot f59c387144
chore: Update from ubi8/go-toolset:1.19.10-3 to ubi8/go-toolset:1.19.10-10 (#1742)
* chore: Update from ubi8/go-toolset:1.19.10-3 to ubi8/go-toolset:1.19.10-10

Signed-off-by: Nick Boldt <nboldt@redhat.com>

* chore: Update from ubi8-minimal:8.8-1014 to ubi8-minimal:8.8-1037

Signed-off-by: Nick Boldt <nboldt@redhat.com>

---------

Signed-off-by: Nick Boldt <nboldt@redhat.com>
Co-authored-by: Nick Boldt <nboldt@redhat.com>
2023-08-14 16:34:44 +02:00
Andrew O 1bd44bdb28
add pod & container security context Che Cluster Fields (#1729)
* feat: add Che Cluster CR fields for pod & container security context

Also modify devEnvironments.disableContainerBuildCapabilities field documentation
to mention it overrides devEnvironments.security.containerSecurityContext
when set to false.

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* feat: configure DWOC pod & container security context from Che Cluster CR

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: Add tests for DWOC pod & security context configuration

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: update dev resources for Che Cluster CR devEnvironments.security field

Also updates dev resources for devEnvironments.disableContainerBuildCapabilities
field documentation.

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: split DevWorkspaceConfig tests into seperate functions

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: clean up DevWorkspaceConfig container builds tests

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

* chore: clean up unused error in DevWorkspaceOperatorConfig reconciler

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>

---------

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-08-10 16:54:52 +02:00
che-bot edd6a92582
ci: Copy 7.72.0 csv to main (#1740)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2023-07-28 08:23:49 +02:00