- Added check to see if the program being referenced in the command field of the
exec object in the User construct exists. If it doesn't an error will be raised.
If more than 1 context is selected when adding a kubeconfig then valid contexts
will be added and any with an error will not be.
Signed-off-by: Steve Richards <srichards@mirantis.com>
Co-authored-by: Steve Richards <srichards@mirantis.com>
* 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>
* Add some basic unit tests for cluster, kube-auth-proxy, and kubeconfig-manager
- src/main/cluster.ts
- src/main/kube-auth-proxy.ts
- src/main/kubeconfig-manager.ts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* 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>
* Check for location before navigate
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Handling every location type
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Moving EditorPanel to the top
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Preventing save with empty yaml
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Make tooltips in @withTooltip narrower
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Not showing api errors in icon
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Success notification for create resource operation
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Button outlined style
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Making second button to stay outlined
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Fine-tuning dock info panel colors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Removing border-radius from ace-editor
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
* Rename `Draggable` as `ResizingAnchor` since that is what it is used for and shouldn't be mistaken as a general draggable item
* Refactor `ResizingAnchor` to be much more smart about how it handles mouse movements. Allow it to know which direction the resizing should be in allowing it to produce exact resized values.
* Add event handlers for the min and max extents so that actions can be triggered when those extents are passed (in either direction)
* Add double click support
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Cluster CPU and Memory usage cannot be sum by node as it is rendered as single cluster metrics. Without this changes, the cluster graphs (standard and pie) shows data only from first (or latest) nodes.
For pod specific metrics, when we use prometheus operator the `container_` metics are doubled. Restric search to get those have image tag.
Signed-off-by: Jakub Štiller <stiller@2n.cz>
Co-authored-by: Jakub Štiller <stiller@2n.cz>
* terminal: set NO_PROXY env for localhost communication
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
* 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>
* adding more integration tests
reorganized tests, added ability to skip cluster tests if minikube is not ready
introduced INTEGRATION_TESTS namespace for sandboxing the cluster tests
added cluster page tests
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* make download dir option consitent with other settings
* make path to kubectl setting consistent
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>