Roman
d8e088f352
fix: chart.digest is the same for all charts and not suited as unique id ( #1964 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-19 14:15:37 +02:00
Violetta
c48816ca5c
Add support for LimitRange ( #1796 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2021-01-14 11:49:39 +03:00
Jari Kolehmainen
11595abc93
Fix fill the gaps logic in normalize metrics ( #1940 )
...
* fix fill the gaps logic in normalize metrics
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-01-12 12:01:06 +02:00
Alex Andreev
131a6fb410
Getting api by kind when editing an object ( #1936 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-11 15:43:13 +03:00
Violetta
fd63f2f4e3
Add suspend/resume button for CronJobs ( #1860 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-12-29 17:19:23 +02:00
Roman
be4e1aa15c
Navigation refactoring, handling extension page params ( #1651 )
...
* decentralizing page url-params management -- PoC / tsc 4.1 random fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fixes, tweak example-extension for demo
Signed-off-by: Roman <ixrock@gmail.com >
* lint fixes, revert tests
Signed-off-by: Roman <ixrock@gmail.com >
* removed occasional changes related to typescript 4.1
Signed-off-by: Roman <ixrock@gmail.com >
* updated example with 2 menu-items targeting same page with different params
Signed-off-by: Roman <ixrock@gmail.com >
* fix: merge page url chunks with native URL()-api, simplified default page-params registration
Signed-off-by: Roman <ixrock@gmail.com >
* fix: make lint happy
Signed-off-by: Roman <ixrock@gmail.com >
* fix: unit-tests
Signed-off-by: Roman <ixrock@gmail.com >
* renaming by jim's request: UrlParam => PageParam (type), createUrlParam => createPageParam (helper)
Signed-off-by: Roman <ixrock@gmail.com >
* fix: reverting NamespaceStore public-api breaking changes
Signed-off-by: Roman <ixrock@gmail.com >
* lint fix
Signed-off-by: Roman <ixrock@gmail.com >
* fine-tuning
Signed-off-by: Roman <ixrock@gmail.com >
* yes, lint always unhappy
Signed-off-by: Roman <ixrock@gmail.com >
* fix build
Signed-off-by: Roman <ixrock@gmail.com >
* small fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fix merge-conflicts
Signed-off-by: Roman <ixrock@gmail.com >
* removed `isSystem` page-param's init field exposed to extensions-api
Signed-off-by: Roman <ixrock@gmail.com >
2020-12-22 15:29:25 +02:00
Jari Kolehmainen
6fe5bfae5c
Generate metadata.selfLink if response does not have it ( #1804 )
...
* generate metadata.selfLink if response does not have it
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix watches
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-12-18 15:03:04 +02:00
Violetta
abd4223675
Add information about the startupProbe ( #1538 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-12-13 19:08:26 +02:00
Violetta
d143b234b7
Full support for ReplicaSets ( #1704 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-12-10 15:23:51 +03:00
Panu Horsmalahti
dcf253e7d5
Add eslint rule padding-line-between-statements ( #1593 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-02 09:55:52 +02:00
Panu Horsmalahti
832f29f666
Handle errors from getLatestApiPrefixGroup. ( #1575 )
...
* Handle errors from getLatestApiPrefixGroup.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Use logger instead of console for error
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-12-01 11:22:01 +02:00
Panu Horsmalahti
335778aeef
Enforce template strings in eslint ( #1574 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-30 15:35:16 +02:00
Sebastian Malton
7451869c25
add no-unused and react/recommended to eslint ( #1523 )
...
* add no-unused-vars and no-unused-imports
* added quotes: double, and remove ignore pattern
* move itif and describeif into utils
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-27 08:48:38 -05:00
vshakirova
5b484ca692
Add stateful set scale slider ( #1406 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2020-11-25 15:21:54 +03:00
Panu Horsmalahti
ff93760dc4
Enable object-shorthand rule ( #1500 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-24 13:16:35 +02:00
Panu Horsmalahti
22ff706f4c
Support networking.k8s.io/v1 for Ingress ( #1439 )
...
* Support networking.k8s.io/v1 for Ingress
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Add helper method to Ingress
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
* Fix lint errors.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-20 11:59:11 +02:00
Sebastian Malton
43976f5bd9
fix SwitchCase indent rule in eslint ( #1454 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-19 15:15:49 -05:00
Panu Horsmalahti
460dfe4d2b
Use @typescript-eslint/semi.
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-19 18:12:52 +02:00
Panu Horsmalahti
1477bb8274
Enforce semicolons in eslint
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com >
2020-11-19 16:35:04 +02:00
Roman
1f88c05e82
Refactoring: removed kube versioned api ( #1328 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-12 08:39:50 +02:00
Roman
c67dad54e3
fix: allow to select kube-api objects with label & field selectors ( #1327 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-11 13:42:36 +02:00
Sebastian Malton
a78bbb5f6c
Fix rendering of boolean values in CRDs ( #1087 )
...
* Fix rendering of boolean values in CRDs
- add optional special casing for boolean values in DrawerItems and
TableRows since React (imo annoying fashion) does not render boolean
values by default.
- add a spinner on the sidebar for when the CRD menu is expeanded but
the entries have not been loaded yet.
- Add ability to double click a Badge to expand, also make it so that
Badges highligh all text on first click.
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-11-10 10:10:19 -05:00
Lauri Nevala
0f8e8c2237
Expose CRD api to extensions ( #1297 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-11-10 09:02:32 +02:00
Roman
474aaae8c6
ApiManager.registerStore should be simplified #1275 ( #1278 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2020-11-09 13:30:41 +02:00
pashevskii
d074e0499f
Restart deployment ( #1175 )
...
Signed-off-by: Pavel Ashevskii <pashevskii@mirantis.com >
2020-11-05 10:23:14 +03:00
chh
484de2ec21
Add +/- buttons in scale deployment popup screen ( #1191 )
...
* Add @testing-library/jest-dom and @testing-library/react for writing test cases
* Make eslint check __mocks__/*.ts files
* Mock electron.ipcRenderer.on to prevent errors in React compoment test cases
* Mock <Trans /> from @lingui/macro as a component simplely returns children components
* Use optional chaining operator (?.) to avoid TypeError: Cannot read property 'replicas' of undefined
* Add jest-fetch-mock for mocking global.fetch, activate for all test cases in jest.setup.ts
* Add basic tests for <DeploymentScaleDialog /> to ensure it initialises/renders without errors
* Add +/- button for changing desired replicas, and its test cases
* Adjust the styles of +/- buttons container to make sure it aligns with the slider
* Refactor after rebase from master
* Use var defined in vars.scss
* Add flex align-center to slider-container and remove margin-top: -4px
* Use <Icon /> to replace <i/>
* Add flex gaps to plus-minus-container
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com >
2020-11-03 20:30:36 +08:00
Jari Kolehmainen
c7f77a01f9
Fix UI staleness after network issues ( #1192 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-11-02 14:51:04 +02:00
Jari Kolehmainen
eb5aca628d
Expose kubeObjectDetailRegistry via extension-api ( #1185 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-30 15:57:32 +02:00
Jari Kolehmainen
4e8bdace79
Merge branch 'master' into extensions-api
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-27 09:24:27 +02:00
JeongHoon Byun (a.k.a Outsider)
2a3b391870
force revision type to number for sort ( #1097 )
...
Signed-off-by: Outsider <outsideris@gmail.com >
2020-10-27 09:44:09 +03:00
Jari Kolehmainen
62ae7771df
Allow extensions to define cluster features ( #1125 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-26 08:21:22 +02:00
Roman and Jim Ehrismann
f3a0059355
Extension support page ( #1112 )
...
Signed-off-by: Roman <ixrock@gmail.com >
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com >
2020-10-24 09:24:54 +03:00
Jari Kolehmainen
99db7aca19
Allow extensions to register kube-object menus + details ( #1108 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-22 21:41:20 +03:00
Jari Kolehmainen
d25e2f015b
Restructure extension apis ( #1101 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-20 14:45:15 +03:00
Jari Kolehmainen
c566c85351
Move tracker to telemetry extension ( #1092 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2020-10-19 11:56:08 +03:00
steve richards
c0b8d472a0
Add LoadBalancer information to the Ingress view ( #1064 )
...
Signed-off-by: Steve Richards <srichards@mirantis.com >
2020-10-16 17:13:18 +03:00
steve richards
bf20a15819
Added Last Status information for Container ( #1041 )
...
Signed-off-by: Steve Richards <srichards@mirantis.com >
2020-10-16 17:12:13 +03:00
Sebastian Malton
770c6b80f1
move autobind and debouncePromise to common/utils ( #1081 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2020-10-14 14:36:19 +03:00
Alex Andreev
83b8fa9d98
Ability to show previous terminated container logs ( #1074 )
...
* Show previous terminated container logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix for parsing error object
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-12 15:58:18 +03:00
Alex Andreev
f4f0cba6ca
Moving Pod logs into Dock panel ( #1043 )
...
* Moving pod logs into Dock
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Always set up default container
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Open existent tab if fount
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Moving logs load and properties into store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Setting a refresher
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding showButtons prop to InfoPanel
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hiding sequence number in log tabs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing PodLogsDialog
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing unused PodLogsDialog import
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Tiny cleaning
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* A bit of cleaning up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Hiding drawer when opening logs
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-10-11 19:36:19 +03:00
Sebastian Malton and Sebastian Malton
87061cee9e
Refactor testing harness to use defaults ( #808 )
...
* Refactor testing harness to use defaults
- Move tests into defaultly named test folders
- Use default test suffix of ".test" instead of "_test"
- Make cluster-store tests unit tests by adding more
nesting, so that order of tests doesn't matter
Signed-off-by: Sebastian Malton <sebastian@malton.name >
Co-authored-by: Sebastian Malton <smalton@mirantis.com >
2020-10-02 10:05:59 -04:00
Alex Andreev
459742556b
Fix CRD conditions rendering ( #994 )
...
* Using reason field if no type provided
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Lowecasing condition badge class
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-09-29 10:58:16 +03:00
Yangjun Wang and Yangjun Wang
bc228c9e36
display last-applied-configuration annotation in detail-view, but filter it in search fields still ( #943 )
...
Signed-off-by: Yangjun Wang <yangjun.wang@wartsila.com >
Co-authored-by: Yangjun Wang <yangjun.wang@wartsila.com >
2020-09-28 17:24:54 +03:00
Lauri Nevala
265aa41968
Fix reading CRD conditions ( #967 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-09-25 12:59:12 +03:00
Trevor Nichols
26e031fc58
Update CRD api to use preferred version and implement v1 differences ( #718 )
...
* Update CRD api to use preferred version and implement v1 differences
Signed-off-by: Trevor Nichols <trevor@nichols.id.au >
* Fix unit test failure
Signed-off-by: Trevor Nichols <trevor@nichols.id.au >
* Register alternate API base URL if preferred version changes.
Signed-off-by: Trevor Nichols <trevor@nichols.id.au >
* Adjust for validation moving to the version.schema
Signed-off-by: Trevor Nichols <trevor@nichols.id.au >
2020-09-04 09:39:31 +03:00
Alex Andreev
f4d262b294
Fixing app crash when iterating Events without 'kind' prop defined ( #743 )
...
* Checking for 'kind' to be defined
Inside 'involvedObject' of Event
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing resource var definition
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Reverting to link rendering in Events
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Explicitly return emty link if no 'kind' available
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Removing lowercase of url path
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2020-09-01 10:36:44 +03:00
Nox and Lauri Nevala
8f778ea379
Add cronjob trigger ( #694 )
...
Signed-off-by: Nox <aurelien.gaston@krondor.fr >
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-08-25 10:55:12 +03:00
Dan Slinky @ Cookpad
81a0c432c6
Add support for PodDisruptionBudgets ( #452 )
...
Signed-off-by: Dan Slinky <dan-slinky@cookpad.jp >
2020-08-21 11:39:02 +03:00
Gerasimos (Makis) Maropoulos
1cf446ea98
Fix misspell ( #662 )
...
Signed-off-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com >
2020-08-20 10:21:54 +03:00
Lauri Nevala
f958e1c760
Return KubeObject for successfully created unknown resources ( #617 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2020-08-20 10:04:12 +03:00