Sebastian Malton
76f48df56b
Fix rerendering of KubeObject views every 30s ( #4801 )
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
2022-02-03 09:11:28 -05:00
Sebastian Malton
dd4aa30b8d
Update Node.getRoleLabels() to work with kube 1.16's defaults ( #4771 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-02-01 07:33:39 -05:00
Sebastian Malton
38790eb886
Upgrade to latest for all linting deps ( #4755 )
...
* Upgrade to eslint latest
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Fix OOM error
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* resolve PR comments
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-29 07:46:37 -05:00
Janne Savolainen
4f5a2988cb
Fix infinite render loop in release details ( #4710 )
...
* Fix infinite render loop in release details by replacing stateful, UI-triggered releaseStore with reactive async computed
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Update injectable
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove unnecessary return
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove empty lines
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Allow injection of history
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Make data required for opening of release details a dependency to make sure it's present
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Remove dead code
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
* Make arriving release values not re-render whole details
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-21 16:29:10 +02:00
Janne Savolainen
589472c2b5
Shorten license header to reduce amount of clutter in top of the files ( #4709 )
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-18 10:18:10 +02:00
Gaurav Agrawal
66d0a354b1
replacing the deprecated substr() with slice() ( #4687 )
2022-01-17 13:57:03 -05:00
Janne Savolainen
00f6d6bc1f
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths
2022-01-14 07:59:42 +02:00
Janne Savolainen
06379b089b
Add TODO
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-13 09:01:34 +02:00
Sebastian Malton
14b30d84a1
Fix crash for KubeObjectStore.loadAll() ( #4675 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-12 07:05:27 -05:00
Janne Savolainen
e1a6d4c4a9
Merge remote-tracking branch 'origin/master' into eliminate-gst-from-app-paths
2022-01-10 17:13:20 +02:00
Janne Savolainen
48948c7286
Fix endless re-rending of logs
...
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-10 16:54:03 +02:00
Sebastian Malton
fa3708c879
Add eslint:recommended lint rule ( #4577 )
2022-01-07 08:38:21 -05:00
Sebastian Malton
4f75acf2b4
Ban circular dependencies ( #3547 )
2022-01-05 11:35:44 -05:00
Sebastian Malton
6a97a7b35b
Fix CRD.getPreferedVersion() to work based on apiVersion ( #4553 )
...
* Fix CRD.getPreferedVersion() to work based on apiVersion
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-01-05 07:53:28 -05:00
Janne Savolainen
9d33fff906
Cascade different refactorings to eliminate global shared state from app paths
...
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2022-01-05 13:26:49 +02:00
Alex Andreev
3dd6b432c9
Export KubeJsonApi to extensions ( #4496 )
...
* Export KubeJsonApi to extensions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Make forCluster() to consume clusterId as arg
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fix lint
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2021-12-09 15:11:34 +03:00
Sebastian Malton
304941d397
Fix IngressApi being registered with a wrong new apiBase ( #4485 )
2021-12-03 15:19:01 -05:00
dependabot[bot]
1c16b697ae
Bump joi from 17.4.2 to 17.5.0 ( #4486 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
2021-12-02 16:09:38 -05:00
Panu Horsmalahti
696986b7e6
Use PartialDeep for patch type ( #4420 )
...
* Use PartialDeep for patch type.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Add test. Fix typing.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Fix lint.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-12-02 15:28:28 +02:00
Sebastian Malton
4c16b7020d
Fix KubeApi.create not populating kind and apiVersion ( #4478 )
2021-12-01 15:57:08 -05:00
Sebastian Malton
4257fce2f0
Fix NetworkPolicy engresses not having node/pod selectors displayed ( #4467 )
2021-12-01 08:08:26 -05:00
Sebastian Malton
29220c1c73
Fix getLatestApiPrefixGroup to not fail when options.apiBase is not provided ( #4462 )
2021-11-30 11:27:20 -05:00
Sebastian Malton
2f14b7a70a
Refactor Nodes view metrics renderer ( #3990 )
2021-11-30 10:30:54 -05:00
Sebastian Malton
df46dd9ef6
Fix not being able to remove role bindings via the UI ( #4394 )
2021-11-30 09:06:54 -05:00
Sebastian Malton
0286faf387
Fix detail views not watching child components ( #4345 )
...
* Fix detail views not watching child components
- Add subscribeStores calls to all relavent details
- Add support for tracking overlapping subscribes as an optimization
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Resolve PR comments
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Detect the adding of a namespace when selected namespaces change
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Update debug log
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-29 17:25:35 -05:00
Marc Bachmann
b3723de3ec
Add more file system metrics to the pod and container graphs ( #3961 )
2021-11-26 10:03:12 -05:00
Roman
4f33dfdfd5
Allow to navigate to created resource details from notification ( #4422 )
...
navigate to created resource details from notification
2021-11-25 18:04:41 +02:00
Panu Horsmalahti
0ca8448d33
Retry watch if timeout set, but request was not retried ( #4388 )
...
* Retry watch if timeout set, but request was not retried.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Cancel current request if retried.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Clarify retried variable/comment
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-11-24 15:56:01 +02:00
Jari Kolehmainen
fe4a56ba59
Add keepalive option in JsonApi.getResponse ( #4374 )
...
* add keepalive option in JsonApi.getResponse
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-18 09:21:28 -05:00
Jari Kolehmainen
2446b6cf9b
Add tests for KubeApi.watch timeout ( #4367 )
2021-11-17 09:34:05 -05:00
Jari Kolehmainen
ca15919218
Add timeout option to KubeApi.watch ( #4365 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-17 10:23:05 +02:00
Sebastian Malton
159c240a80
Display resource load errors seperately from list of items ( #4228 )
2021-11-16 12:41:10 -05:00
chh
2d5b39e0e6
Fix typo KubeObject.nonEditiablePathPrefixes > KubeObject.nonEditablePathPrefixes ( #4351 )
2021-11-16 14:04:12 +02:00
Jari Kolehmainen
385de469ad
allow to call KubeApi.delete without namespace parameter ( #4349 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-16 09:14:41 +02:00
Sebastian Malton
e51ff5051f
Fix crash when finding CRD's preferred version ( #4332 )
2021-11-15 11:16:37 -05:00
Jari Kolehmainen
882f216368
Use propagationPolicy=Background by default for delete ( #4337 )
2021-11-15 08:29:22 -05:00
Jari Kolehmainen
23d5d40d62
Implement KubeApi.patch ( #4325 )
...
* implement KubeApi.patch
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup tests
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* keep it backward compatible
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-12 11:15:33 +02:00
Jari Kolehmainen
a86b306a48
add possibility to pass non-generic KubeApi to forRemoteCluster ( #4321 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-11-12 09:07:57 +02:00
Sebastian Malton
1ce2e727af
Fix crash in IngressDetails ( #4267 )
...
* Fix crash in IngressDetails
- Adds check in Ingress.getServiceNamePort() for a
.spec.defaultBackend.resource instead of .spec.defaultBackend.service
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* remove undefined
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add comment about RequireExactlyOne
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-09 22:52:36 -05:00
Sebastian Malton
200061d386
Use .status.phase instead of computing it for Pod.getStatusMessage ( #4286 )
2021-11-09 09:33:42 -05:00
Sebastian Malton
5eb1b8553d
Support window nodes for node-shells ( #3624 )
...
* Support window nodes for node-shells
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Also check beta.kubernetes/os label
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Add comment about linux fallback
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-08 20:11:40 -05:00
Sebastian Malton
c6dce043a7
Lint: comma-spacing (error) & comma-dangle (error) ( #4200 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-02 17:38:20 -04:00
Panu Horsmalahti
6b047332c0
Reduce JSON-API logging. ( #4221 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-11-02 13:31:10 +02:00
Sebastian Malton
41863e87ce
Lint: object-curly-spacing (error) ( #4198 )
2021-11-01 08:45:45 -04:00
Sebastian Malton
4d63ef2878
Use spec.serviceName as an externalIP if nothing else ( #4188 )
...
* Use spec.serviceName as an externalIP if nothing else
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Move using externalName to display logic
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-11-01 07:23:29 -04:00
Patrick J. McNerthney
6294343b79
Fix the broken ingress metrics, the namespace is needed in the opts. ( #4203 )
...
Signed-off-by: Patrick J McNerthney <pat@mcnerthney.com>
2021-11-01 11:21:13 +03:00
Sebastian Malton
221ab46540
Handle named ports in probe label renderer ( #4118 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-25 10:40:45 -04:00
Panu Horsmalahti
0dab7b8073
Add option for providing request options to watch requests ( #4102 )
...
* Add option for providing request options to watch requests.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Move getRequestOptions to JsonApi.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Style fix
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Make token to be a string or a function
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Fix isFunction import.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Make getRequestOptions async.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Remove commented code.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Only set token if it's truthy.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Review fixes.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
* Add this.getRequestOptions default
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2021-10-21 19:18:32 +03:00
Sebastian Malton
1f42a5148e
Remove api lookup in KubeObjectStore ( #4092 )
2021-10-20 10:44:13 -04:00
Sebastian Malton
b4a4cc6be4
Correctly handle empty string valued secrets in SecretDetails ( #4079 )
2021-10-20 08:51:03 -04:00