Commit Graph

864 Commits (d38d4391c191701fa344fb1680a4e4f08f4476ec)

Author SHA1 Message Date
che-bot d38d4391c1
chore: Bump to 7.41.0-SNAPSHOT in main (#187)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-12-01 17:15:14 +02:00
Michal Vala 388a5183be
feat: native auth on Kubernetes (#171)
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-11-25 14:48:55 +01:00
disaster37 f289ec619f
fix: add CPU quota on che-plugin-artifacts-broker container (#183)
* Add CPU quota

Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>

* fix: add CPU quota on che-plugin-artifacts-broker container
2021-11-24 13:38:59 +02:00
Igor Vinokur cf741dbc4d
feat: Add a predefined configmap to store theia preferences (#174)
Create a predefined K8s secret per nemaespace to store theia preferences.
Include the preference secret to the workspcae-secrets role, to be able to manage it outside.
2021-11-24 12:23:11 +02:00
che-bot e71e5cff0d
chore: Bump to 7.40.0-SNAPSHOT in main (#179)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-11-10 13:06:41 -05:00
Pavol Baran fdb4bd5558
Merge pull request #162 from xbaran4/factory-flow
feat: added label and annotation for git credentials secret for ability to be mounted into devworkspace
2021-10-27 12:17:31 +02:00
che-bot 9c05838b41
chore: Bump to 7.39.0-SNAPSHOT in main (#169)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-10-20 13:30:29 +03:00
xbaran4 8a31217840 refactor: moved label and annotation to static maps
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-10-19 11:10:07 +02:00
xbaran4 75ed9268b4 feat: moved label and annotation to secret creation
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-10-13 11:39:37 +02:00
xbaran4 3b5da63017 feat: added label and annotation for git credentials secret
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-10-11 21:47:13 +02:00
Michal Vala 3a99240d2f
fix: devfile endpoint with single-host exposure (#157)
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-10-06 18:35:15 +02:00
Lukas Krejci 697253e50e
fix: Token validity check (#136)
Handle missing or expired token with a 401 HTTP status instead of 500
with OpenShift OAuth the same as it is already done with Keycloak.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2021-09-30 12:24:51 +02:00
che-bot 07142c8626
chore: Bump to 7.38.0-SNAPSHOT in main (#149)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-09-30 10:26:08 +03:00
Pavol Baran 738a663e72
Merge pull request #117 from xbaran4/user-secrets
Propagate Che user informations and preferences to DevWorkspaces
2021-09-29 13:30:03 +02:00
xbaran4 8969d93bac fix: added module binding in openshiftInfra
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-29 12:43:43 +02:00
xbaran4 0423215112 fix: trimed preference name bug
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-27 16:49:23 +02:00
xbaran4 a6059bfea5 fix: trimmed preference name
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-27 15:38:38 +02:00
xbaran4 e73266e957 refactor: replaced individual convigurators with set
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-27 11:54:44 +02:00
xbaran4 31366691ec test: added test for UserPreferencesConfigurator
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-27 00:49:46 +02:00
xbaran4 e96aa25fb5 doc: added javadoc for NamespaceConfigurator classes
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-24 14:46:29 +02:00
xbaran4 dece823292 refactor: adapted NamespaceProvisioner for UserProfileConfigurator and UserPreferencesConfigurator
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-24 12:21:49 +02:00
xbaran4 5f4cd273df refactor: moved preferences secret creation from NamespaceProvisioner to UserPreferencesConfigurator
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-24 11:54:10 +02:00
xbaran4 b73d4968e1 refactor: moved profile secret creation from NamespaceProvisioner to UserProfileConfigurator
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-24 11:13:44 +02:00
xbaran4 33f1a88748 refactor: moving provision method from NamespaceFactory to NamespaceProvisioner
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-24 10:00:48 +02:00
xbaran4 39363da6ef feat: created configurator package with configurators
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-24 09:16:57 +02:00
xbaran4 8aa275101a fix: removed secrets creation on event
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-22 12:15:09 +02:00
xbaran4 048e35863c doc: added javadoc for NamespaceProvisioner
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-21 11:05:05 +02:00
Sergii Kabashniuk e7d725ca37
build: Used jakarta.persistence (#125) 2021-09-21 08:36:19 +03:00
xbaran4 a41e86ae26 format: mvn fmt:format
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-20 13:25:01 +02:00
xbaran4 3d3cbee7e1 test: added tests for exception handling in NamespaceProvisioner
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-20 13:23:13 +02:00
xbaran4 bd46d1c218 refactor: decomposing NamespaceProvisioner createOrUpdate()
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-19 22:39:28 +02:00
xbaran4 d0aed8657d feat: adapted test for namespacesProvisioner
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-13 14:04:49 +02:00
xbaran4 5b12d7db12 Merge branch 'main' of https://github.com/eclipse-che/che-server 2021-09-13 12:31:17 +02:00
xbaran4 af89b16093 feat: Added NamespaceProvisioner that creates user information secrets
Signed-off-by: xbaran4 <pbaran@redhat.com>
2021-09-13 12:30:54 +02:00
Sergii Kabashniuk 359ebb32bc
build: Transition from Java EE to Jakarta EE (#80)
* Upgrade swagger-ui-3.51.2

* Upgrade tomcat 10.0.10

* changed only imports

* changed imports in service loader

* changed swagger jaxrs deployment

* Changed swagger annotations + basic imports

* Changed imports and minimal key length for jsonwebtoken

* Restassured API changes + imports

* Removed trailing slash from CHE_HOME

* Migrate to jakarta schema in web.xml

* Disable tracing

* New artifacts and maven build upgrade

* Removed jackson-jaxrs-json-provider from wsmaster war

* Fixed KeycloakServletModuleTest and forked TracingFilter

* Removed unused dependecies
2021-09-13 08:20:09 +03:00
che-bot 981c04c41e
chore: Bump to 7.37.0-SNAPSHOT in main (#96)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-09-09 08:32:24 +03:00
Sergii Kabashniuk 6d4ee34fe8
fix: Allow kube:admin user (#92)
* fix: Allow kube:admin user

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2021-09-03 16:03:09 +03:00
Max Shaposhnik 3604c9a709
fix: Correct prervious roles validation fixup for minikube (#94)
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
2021-09-03 08:55:14 +03:00
Max Shaposhnik c273bd43a5
fix: workspaces must not fail on metrics roles creation when APi is disabled or unauthorized (#93)
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
2021-09-02 09:58:44 +03:00
David Kwon 1c9391cdf5
fix: Delete rm pods if a PVC failure event is detected (#79)
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-08-26 15:26:00 -04:00
che-bot fa87ca0772
chore: Bump to 7.36.0-SNAPSHOT in main (#87)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-08-19 11:25:35 +03:00
Igor Vinokur 5934e97fb2
fix: Add a predefined secret to store credentials (#68)
* Create a predefined K8s secret per nemaespace to store credentials.
* Add a specific secret role for the credentials secret. This role allows to edit only this predefined secret. Other secrets are not controlled by this role.
2021-08-17 12:22:17 +03:00
Max Shaposhnik b0a50e91b4
chore: Use networking.k8s.io/v1 version of Ingresses for workspaces (#73)
Signed-off-by: Max Shaposhnik <mshaposh@redhat.com>
2021-08-06 10:16:48 +03:00
Sergii Kabashniuk 159194c1be
chore(build): Added extra argument to match the constructor in KubernetesNamespaceFactoryTest (#72) 2021-08-03 20:44:09 +03:00
Sergii Kabashniuk 74b47fa68b
feat: REST Service on the Che server-side that will initiate k8s namespace provisioning (#61)
* feat: REST Service on the Che server-side that will initiate k8s namespace provisioning


Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2021-08-03 12:32:22 +03:00
disaster37 7bb2641d15
feat: Allow to add annotations when che server create namspace like labels (#57)
* Allow to add annotations when che server create namspace like labels

Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>

* Rename che.infra.kubernetes.namespace.annotate to che.infra.kubernetes.namespace.annotation

Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>

* Remove quick fix on devfile (need dedicated PR)

Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>

* Replace placeHolders on namespace annotations

Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>

* Add tests to valide placeholders on annotation. Rename properties to che.infra.kubernetes.namespace.annotate

Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>

* Fix annotations placeholder on openshift project

Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>

* Try to fix test with add cleanup context on KeycloakProviderConfigFactoryTest

Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>

* Add lenient method on test to avoid unnecessary stubbing error

Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>

* clean test by remove unused stubs

Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>
2021-08-03 12:31:36 +03:00
Oleksandr Andriienko 629cc75716
fix: If internal links are not specified, the external one should be used (#45)
* Don't set public url value to internal url settings.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-08-03 10:23:34 +03:00
Michal Vala 37210828ea
test: cleanup static EnvironmentContext in test to avoid failing the test when they run in reverse order (#69)
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-07-30 12:31:40 +03:00
Sergii Kabashniuk 813218455a
build: Upgrade kubernetes client to latest stable version 5.6.0 (#60) 2021-07-30 11:58:11 +03:00
che-bot ccb8e4b63e
chore: Bump to 7.35.0-SNAPSHOT in main (#67)
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>

Co-authored-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
2021-07-29 08:49:49 +03:00