* Fix che-server when used external oidc provider. Refactor code related to internal network. Add more tests, java docs.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Fixes#18326 - Provides direct access to the kubernetes API on /api/unsupported/k8s.
Restricted to OpenShift with OpenShift OAuth.
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
* Fixes#17115 - Enables to binding the workspace SA to multiple cluster
roles during workspace start.
Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
* Update infrastructures/kubernetes/src/main/java/org/eclipse/che/workspace/infrastructure/kubernetes/namespace/AbstractWorkspaceServiceAccount.java
Co-authored-by: Serhii Leshchenko <sleshche@redhat.com>
* alias for old cluster role property
Signed-off-by: Michal Vala <mvala@redhat.com>
* fix exec and view roles, tests, refactor
Signed-off-by: Michal Vala <mvala@redhat.com>
* format
Signed-off-by: Michal Vala <mvala@redhat.com>
* does github work already?
Signed-off-by: Michal Vala <mvala@redhat.com>
* fix roles apigroups
Signed-off-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Michal Vala <sparkoo@users.noreply.github.com>
Co-authored-by: Serhii Leshchenko <sleshche@redhat.com>
Co-authored-by: Michal Vala <mvala@redhat.com>
* count workspace starts in debug mode
Signed-off-by: Michal Vala <mvala@redhat.com>
fix maven dependencies
Signed-off-by: Michal Vala <mvala@redhat.com>
observe debug mode metrics with events
Signed-off-by: Michal Vala <mvala@redhat.com>
change start attemts in debug mode metrics name, fix pom deps
Signed-off-by: Michal Vala <mvala@redhat.com>
rename start workspace in debug metrics with tags
Signed-off-by: Michal Vala <mvala@redhat.com>
* add options to workspace start event to be able to count debug starts
* remove no longer used logwatch meter binder, write hopefully proper metrics tags
Signed-off-by: Michal Vala <mvala@redhat.com>
* cleanup
Signed-off-by: Michal Vala <mvala@redhat.com>
* fix tags again
Signed-off-by: Michal Vala <mvala@redhat.com>
* grafana graph with workspace start attempts total and in debug
Signed-off-by: Michal Vala <mvala@redhat.com>
* fix tests
Signed-off-by: Michal Vala <mvala@redhat.com>
* runtime log messages and bytes metrics
Signed-off-by: Michal Vala <mvala@redhat.com>
* add missing license header
Signed-off-by: Michal Vala <mvala@redhat.com>
* fix grafana datasources
Signed-off-by: Michal Vala <mvala@redhat.com>
* set grafana graphs mins for runtime logs
Signed-off-by: Michal Vala <mvala@redhat.com>
* watch current logwatch instances
Signed-off-by: Michal Vala <mvala@redhat.com>
* fix module version in pom.xml, fix log message grammar, format
* runtime log messages and bytes metrics
Signed-off-by: Michal Vala <mvala@redhat.com>
add missing license header
Signed-off-by: Michal Vala <mvala@redhat.com>
fix grafana datasources
Signed-off-by: Michal Vala <mvala@redhat.com>
set grafana graphs mins for runtime logs
Signed-off-by: Michal Vala <mvala@redhat.com>
explicitly set charset when counting runtime log bytes
Signed-off-by: Michal Vala <mvala@redhat.com>
* javadoc and fix pom module dependency
Signed-off-by: Michal Vala <mvala@redhat.com>
* tests
Signed-off-by: Michal Vala <mvala@redhat.com>
* add grafana dashboard graph with current watchers
Signed-off-by: Michal Vala <mvala@redhat.com>
* removed infrastructure-metrics module
Signed-off-by: Michal Vala <mvala@redhat.com>
* Revert "removed infrastructure-metrics module"
This reverts commit 16392f5936378204031330971e0a874aacf0723a.
* moved CurrentLogwatchersMeterBinder into own maven and guice module and events into kubernetes module
Signed-off-by: Michal Vala <mvala@redhat.com>