1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/core/src/common/kube-helpers
Sebastian Malton fe2fd4c1fd
Move Cluster.apiUrl to seperate injectable (#7354)
* Refactor out Cluster.apiUrl to direct reading

- Should help prevent using stale data

- Removes some uses of synchronous FS operations

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix type errors

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Rename helper function to better communicate intent

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Improve prometheus handler tests to override less things

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-03-31 15:28:14 -04:00
..
channels.ts Switch to using messaging and startable stoppable from NPM package (#7368) 2023-03-21 11:38:43 +02:00
load-config-from-file.injectable.ts Cleanup 'Cluster' to remove environment specific details (#6951) 2023-03-10 09:37:39 +02:00
load-validated-config-from-file.injectable.ts Move Cluster.apiUrl to seperate injectable (#7354) 2023-03-31 15:28:14 -04:00