Greg Guydo
192216bf44
Check for Kubernetes secret name in oAuthSecret, fallback to plain text ( #1836 )
...
* Check for Kubernetes secret name in oAuthSecret, fallback to plain text
* Removed logging, added test cases
* Update documentation
* cleaning up formatting
* update-dev-resources
2024-05-14 16:54:20 +02:00
Anatolii Bazko
30be8cae93
fix: OpenShift doc link to cluster wide proxy ( #1832 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2024-04-25 10:23:54 +02: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
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
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
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
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
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
Andrew Obuchowicz
cbf068fa32
chore: update dev resources for persistUserHome Che Cluster CR field
...
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-07-27 15:35:10 +02:00
Andrew Obuchowicz
d55d8a77be
feat: add persistUserHome Che Cluster CR field
...
Fix eclipse/che#22102
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-07-27 15:35:10 +02:00
Anatolii Bazko
0128427329
feat: Customize dashboard logo ( #1722 )
...
* feat: Customize dashboard logo
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
* Update dev resources
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
---------
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-07-13 15:17:05 +02:00
Anatolii Bazko
1bf8dde7b6
fix: Disable container build capabilities on Kubernetes ( #1719 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-07-05 12:18:53 +02:00
Anatolii Bazko
4db565cb8e
fix: Don't clean up `openVSXURL` on installation ( #1716 )
...
* fix: `CheClusterDefaultsCleaner` does not clean up CheCluster CR values on a fresh installation
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-07-04 13:49:08 +02:00
Angel Misevski
02ce7749f0
Add fields for configuring project clone container to CheCluster CRD ( #1687 )
...
* Update devworkspace-operator dependency version to v0.21.0
Update devworkspace-operator dependency to v0.21.0 and update vendor dir
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Add project clone container config field to CheCluster CR
Add field .spec.devEnvironments.projectCloneContainer to allow
configuring image, env, resources, and pull policy for the project clone
container.
This change reuses the existing Container struct for storing this
config, which means that
* The name field is ignored (it appears to be a discriminator for the
Deployment struct's containers[] field
* Defaults are handled differently:
* Default imagePullPolicy is the general pull policy for DWO, with
default value "Always" (instead of depending on tag as documented)
* Resource requirements set to "0" are interpreted as "do not set this
field"
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
* Add reconcile step that syncs CheCluster project clone to DevWorkspace
Sync the field CheCluster.devEnvironments.projectCloneConfig to the
DevWorkspaceOperatorConfig owned by the operator.
Update tests to cover new functionality.
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
---------
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2023-05-31 09:58:50 +03:00
Anatolii Bazko
47d5ae3f05
chore: Remove `spec.components.database` and `status.postgresVersion` fields ( #1684 )
...
* chore: Remove spec.components.database and status.postgresVersion fields
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
---------
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-05-24 09:07:54 +03:00
Mykhailo Kuznietsov
b9d8ce34b5
feat: add ability to override Gateway container in devEnvironments ( #1639 )
...
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Angel Misevski <amisevsk@redhat.com>
---------
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Angel Misevski <amisevsk@redhat.com>
2023-04-25 17:18:38 +03:00
Anatolii Bazko
c927cac2bf
feat: allow to specify IngressClassName ( #1669 )
...
* feat: allow to specify IngressClassName
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-25 08:50:07 +03:00
Andrew O
a98d18233e
feat: configure workspace deployment strategy with CheCluster CR ( #1666 )
...
* feat: configure workspace deployment strategy with CheCluster CR
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
* chore: add tests for configuring workspace deployment strategy
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
* chore: update dev resources for devEnvironments.DeploymentStrategy
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
---------
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-04-25 08:43:55 +03:00
Anatolii Bazko
4bcc78a27a
feat: Allow to configure user custom roles ( #1663 )
...
* feat: Allow to configure user custom roles without duplicating default ones
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-21 14:52:05 +03:00
Andrew O
5bd0cdc19a
feat: configure DWOC ServiceAccount tokens from devEnvironments.serviceAccountTokens ( #1643 )
...
* feat: configure DWOC ServiceAccount tokens from devEnvironments.serviceAccountTokens
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
2023-04-17 16:49:09 +03:00
Anatolii Bazko
a1bb81f67c
feat: allow not to set resources requests/limits ( #1656 )
...
* feat: allow not to set resources requests/limits
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-04-12 15:52:52 +03:00
Valeriy Svydenko
7207630a3c
use UDI with ubi8-latest tag ( #1648 )
...
Replaces UDI:ubi8-38da5c2 with UDI:ubi8-latest to have latest changes form the universal developer image (UDI) in the default componen.
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-03-29 15:03:36 +03:00
Anatolii Bazko
c1ec947acd
feat: Move some defaults out of CheCluster to env variables ( #1642 )
...
* feat: Move some defaults out of CheCluster to env variables
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-29 09:09:46 +03:00
Anatolii Bazko
95c531052d
fix: Disable build capabilities on k8s cluster ( #1640 )
...
* fix: Disable build capabilities on k8s cluster
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
* make fmt
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
---------
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-20 12:54:37 +02:00
Anatolii Bazko
2182f45ae9
feat: Enable build capabilities by default ( #1636 )
...
* feat: Enable build capabilities by defau
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-03-13 15:16:23 +02:00
Anatolii Bazko
12169def8b
feat: Remove PostgreSQL component ( #1630 )
...
* feat: Remove PostgreSQL component
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-28 15:42:22 +02:00
Anatolii Bazko
8d0ee22923
feat: Support Azure DevOps Service OAuth ( #1622 )
...
* feat: Support Azure DevOps Service OAuth2 config
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-27 18:09:40 +02:00
Valeriy Svydenko
cad72eb012
chore: set che-incubator/che-code/latest as a default editor ( #1614 )
...
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
2023-02-09 16:57:00 +02:00
Anatolii Bazko
8f5c3b41fa
feat: Configure disable subdomain isolation via secret ( #1613 )
...
* feat: Configre disable subdomin isolation via secet
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
* Deprecate Enpoints
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-02-09 12:43:56 +02:00
Anatolii Bazko
397c97c675
feat: limit the number of workspaces per user ( #1585 )
...
* feat: limit the number of workspaces per user
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2023-01-13 14:07:36 +02:00
Andrew O
571cd1e329
feat: configure workspace start timeout from Che Cluster CR ( #1576 )
...
* feat: configure workspace security context for container builds
Fix eclipse/che#21770
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
* feat: add spec.devEnvironments.startTimeout to Che Cluster CR
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
* chore: add tests for configuring DWO progressTimeout with Che Cluster CR
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
* chore: update deployment, bundle, CSV and CRD
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
* Update resources
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2022-12-28 10:20:12 +02:00
David Kwon
4774568459
feat: spec.devEnvironments.podSchedulerName in CR ( #1587 )
...
* feat: spec.devEnvironments.podSchedulerName in CR
Signed-off-by: David Kwon <dakwon@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2022-12-23 11:18:34 -05:00
Anatolii Bazko
149a39fe75
feat: Update DWO v0.18.0 ( #1586 )
...
* feat: Update DWO v0.18.0
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-12-22 15:02:45 +02:00
Anatolii Bazko
bd74906edc
feat: Support ephemeral pvc strategy ( #1580 )
...
* feat: Support ephemeral pvc strategy
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-12-21 09:24:19 +02:00
Anatolii Bazko
783d35046c
feat: Use a pre-created ServiceAccount for workspace Pods ( #1569 )
...
* feat: Use a pre-created ServiceAccount for workspace Pods
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-12-07 15:25:01 +02:00
Anatolii Bazko
7bc4194e0e
chore: Migrate from sql-based to file-based catalog source format ( #1559 )
...
chore: Migrate from sql-based to file-based catalog source format
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-11-16 15:00:09 +02:00
Mario Loriedo
fd6e188c7e
Switch to VS Code as the default Eclips Che editor ( #1551 )
2022-11-01 10:34:14 +01:00
Anatolii Bazko
6057486aa0
fix: ImagePuller should not set any target namespaces for OperatorGroup ( #1546 )
...
* fix: ImagePuller should not set any target namespaces for OperatorGroup
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-11-01 08:52:24 +02:00
Anatolii Bazko
ca12b90969
fix: checluster_webhook tests ( #1547 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-26 14:57:52 -03:00
Anatolii Bazko
775a979a05
chore: Do not set default openVSXURL if operator is being deployed in… ( #1544 )
...
* chore: Do not set default openVSXURL if operator is being deployed in airgap environment
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-26 10:00:37 +03:00
Anatolii Bazko
21b652e2c4
feat: Automatically create the container build SCC if containerBuildC… ( #1542 )
...
* feat: Automatically create the container build SCC if containerBuildCapability is enabled
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-18 10:07:01 +03:00
Anatolii Bazko
7a984c967d
chore: disableContainerBuildCapabilities=true default ( #1539 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-12 18:15:04 +03:00
Anatolii Bazko
cb7cab8a6e
feat: Add devEnvironments.disableContainerBuildCapabilities field ( #1536 )
...
* feat: Add devEnvironments.disableContainerBuildCapabilities field
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-10-12 09:45:04 +03:00
Anatolii Bazko
2c7637d468
feat: Allow to configure subdomain isolation for GitHub ( #1528 )
...
* feat: Allow to configure subdomain isolation for GitHub
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-28 09:49:36 +03:00
Anatolii Bazko
5373f5320d
feat: Move handling DevWorkspace operator resources out of Che Operator ( #1520 )
...
* feat: Remove managing Dev Workspace resources from operator codebase
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-22 12:23:54 +03:00
Anatolii Bazko
1505555e0e
fix: Ensure only one CheCluster is created ( #1517 )
...
* fix: Ensure only one CheCluster is created
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-16 13:41:34 +03:00
Anatolii Bazko
23c5dadd01
fix: conversion when only one resource (cpu or memory) is specified f… ( #1516 )
...
* fix: conversion when only one resource (cpu or memory) is specified for component
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-12 10:32:27 +03:00
Anatolii Bazko
bbec58649b
feat: Add new fields in CheCluster CR to configure Git Services ( #1457 )
...
* feat: Add new fields in CheCluster CR to configure Git Services
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2022-09-08 16:53:20 +03:00