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>
* 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>
* 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>
* 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>
* 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>
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>
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>
* 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>
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.
* 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>
* 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>