Commit Graph

20 Commits

Author SHA1 Message Date
Jamie Klassen 3c184afa91 refactor: extract common dialog component
Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
2024-01-26 19:09:50 -05:00
Jamie Klassen d0ad09ff7e Merge pull request #22093 from luchillo17/fix/BCKSTG-366-pod-exec-terminal-missing-bac
fix: Revert broken xterm css import
2024-01-18 08:33:40 -05:00
Carlos Esteban Lopez 536f67dd3d fix: Revert broken xterm css import
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2024-01-17 20:16:48 -05:00
Carlos Esteban Lopez Jaramillo d98604b667 Apply suggestions from code review
Co-authored-by: Jamie Klassen <jamie.klassen@broadcom.com>
Signed-off-by: Carlos Esteban Lopez Jaramillo <luchillo17@gmail.com>
2024-01-17 20:15:14 -05:00
Carlos Esteban Lopez 0d526c8554 feat: Make PodExecTerminal UI OptIn
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2024-01-17 20:15:14 -05:00
Jamie Klassen db1054bb92 fix invocation of kubernetesAuthProvidersApi
Pass token provider when authenticating via openID tokens.

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
2024-01-04 09:35:43 -05:00
Fredrik Adelöw 6c1ddfd683 ensure that luxon based tests are not os locale dependent
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-01-02 19:54:39 +01:00
Tomasz Szuba d5d2c67ca8 Add authuser param to GKE cluster link formatter in k8s plugin
Signed-off-by: Tomasz Szuba <tszuba@box.com>
2023-12-27 10:25:06 +01:00
Tomasz Szuba 899d71a37c [k8s] async formatClusterLink (#21535)
This is a refactor PR for formatClusterLink.
It rewrites it to be an API and allows async creation of cluster link.

Signed-off-by: Tomasz Szuba <tszuba@box.com>
2023-11-30 14:37:14 -05:00
Simon Stamm b5ae2e5a62 Fix closing of k8s pod drawer when data reloads (#21415)
* Add ID property to the table displaying kubernetes pods to avoid closing the info sidebar when the data reloads and needs to rerender.

Signed-off-by: Simon Stamm <simon.stamm@tui.com>

* Correct formatting

Signed-off-by: Simon Stamm <simon.stamm@tui.com>

* Change sideboard to drawer

Co-authored-by: Jamie Klassen <jklassen@vmware.com>
Signed-off-by: Simon Stamm <simon@stammtec.de>

---------

Signed-off-by: Simon Stamm <simon.stamm@tui.com>
Signed-off-by: Simon Stamm <simon@stammtec.de>
Co-authored-by: Jamie Klassen <jklassen@vmware.com>
2023-11-20 13:11:46 -05:00
Jamie Klassen 0ad4cca07d Merge pull request #20736 from ivangonzalezacuna/kubernetes/exported-types
(kubernetes-react): Make sure types are exported
2023-10-31 10:30:43 -04:00
Fredrik Adelöw 0f4cad6da0 fix test
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-10-25 21:20:25 +02:00
ivgo b52f576f48 Make sure types are exported
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2023-10-23 14:23:07 +02:00
Patrik Oldsberg 0696ef1a34 replace usages of await act(async () => {}) with waitFor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:04 +02:00
Patrik Oldsberg 0935b0d60f rtl 13 fixes for tests with type issues
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:03 +02:00
Patrik Oldsberg d60fbcb553 remove usages of @testing-library/react-hooks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:03 +02:00
Tomasz Szuba 4262e12921 Handle decimals in k8s resource usage calculation (#20514)
When one of the numerator/denominator is a number and other is bigint this was failing.
decimals cannot be converted to bigints

Signed-off-by: Tomasz Szuba <tszuba@box.com>
2023-10-11 16:11:33 +02:00
Matthew Clarke 95518765ee feat: Kubernetes cluster plugin (#18760)
* refactor: k8s plugins

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* feat: add kubernetes cluster plugin

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* fix: yarn fix

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* fix: tsc

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* fix: types

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* chore: missing changeset

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* chore: update api report

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

---------

Signed-off-by: Matthew Clarke <mclarke@spotify.com>
2023-10-04 19:31:30 +00:00
Andres Mauricio Gomez P 5dac12e435 Backstage-Kubernetes-Authorization-X-X headers are provided when it gets invoke kubernetes endpoints on backstage
Signed-off-by: Andres Mauricio Gomez P <andmagom@outlook.com>
2023-10-03 10:29:22 -05:00
Matthew Clarke 2d8151061c refactor: Refactors the Kubernetes plugin in line with ADR11 (#19446)
* refactor: k8s plugins

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* chore: move more files

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* chore: fix

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* fix: tsc

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* chore: changeset

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* chore: api report

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* fix: catalog

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* fix: types

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

* fix: update lock

Signed-off-by: Matthew Clarke <mclarke@spotify.com>

---------

Signed-off-by: Matthew Clarke <mclarke@spotify.com>
2023-09-27 00:40:10 +02:00