1
0
Fork 0
mirror of https://github.com/kastenhq/kubestr.git synced 2024-12-14 11:57:56 +00:00
Commit graph

16 commits

Author SHA1 Message Date
Shlok Chaudhari
2cf1758a0c
Adding "./kubestr browse snapshot" command (#277)
* Adding the kubestr browse pvc command. Handling kubestr browse support for backward compatibility.

* Adding browse snapshot command. Updating browse command to browse pvc command.

* chore(deps): bump github/codeql-action in the github-actions group (#272)

Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 3.25.12 to 3.25.13
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4fa2a79536...2d790406f5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump docker/build-push-action in the docker group (#273)

Bumps the docker group with 1 update: [docker/build-push-action](https://github.com/docker/build-push-action).


Updates `docker/build-push-action` from 6.3.0 to 6.4.1
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](1a162644f9...1ca370b3a9)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: docker
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Removing unused snapshot function parameter in cleanup

* Adding mock tests for SnapshotBrowserStepper

* Adding Deprecated msg to the 'browse' command

* Adding fake tests for snapshot_inspector.go

* Renamed testcase CSITestSuite.TestCreateInspectorApplication to TestCreateInspectorApplicationForPVC

* Adding snapshot_inspector_steps_test.go

* Updating Deprecated msg for 'browse' command

* Making namespace, runAsUser & localport flags persistent

* Removing namespace, runAsUser & localport flags for browse snapshot because we made those persistent

* Removing storage class flag

* Update cmd/rootCmd.go

Co-authored-by: Sirish Bathina <sirish@kasten.io>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sirish Bathina <sirish@kasten.io>
2024-08-01 21:06:34 -05:00
Shlok Chaudhari
68d195495e
Renaming "./kubestr browse" command to "./kubestr browse pvc" (#275)
* Adding the kubestr browse pvc command. Handling kubestr browse support for backward compatibility.

* Adding Deprecated msg to the 'browse' command

* Updating Deprecated msg for 'browse' command

* Making namespace, runAsUser & localport flags persistent
2024-07-31 12:26:41 -05:00
carlbraganza
9c2e28e275
Block mount tester (#159)
* Block mount tester.

* Fixed linter error.

* Updated README

* Ran go mod tidy. Added message advertising the block mount test.

* Addressed PR feedback.

* A few more renames...

* Added a pvc size flag.

* Reversed -c flag again.
2023-07-24 11:23:35 -10:00
mmotejlek
3011d43a73
Enforce that no arguments can be passed to commands that do not use any (#112)
* Enforce 0 args for all commands that do not use args
2022-08-16 13:11:31 -07:00
mmotejlek
f3243a24d1
Add node selector flag for FIO (#105) 2022-08-16 12:51:19 -07:00
Sirish Bathina
032878da5f
Kubestr browse PVC functionality (#83)
* browse changes

* after onkars review
2021-10-08 09:53:57 -10:00
Markus Vuorio
4d3cb00b76
Separate JSON output, emit non-zero exit code (#82)
* Allow for printing FIO and CSICheck JSON results to file

Fixes #79

* Use the file output function in Baseline too, remove double printing

* Emit non-zero exit code when error has occurred

Fixes #80

* Don't output twice in error case

* Added godoc and a note in command help text

* Eliminate weird variable names, make godoc clearer

* Error handling for file output
2021-10-07 07:55:17 -10:00
Sirish Bathina
40561bd5a3
Fio object parse and wait animation (#49)
* fio object and wait

* fio types

* UTs

* missed a return

* formatting

* unneccessary sprintf

* blah
2021-02-01 10:45:57 -10:00
Sirish Bathina
d3e1ce5f2e
Added image option to fio command (#43) 2020-12-14 14:14:53 -10:00
Sirish Bathina
8d5674a59e
CSI snapshot restore (#37)
* starting with the validation

* Create application and use mocks

* Added snapshotter

* cleanup and full execution test

* last bit of wiring

* Nil checks for comments

* removing debug print

* unused variable
2020-12-07 11:16:53 -10:00
Sirish Bathina
bc9dbcb6b4
Allow FIO test to use an input file (#32)
* Allow FIO test to use an input file

* lint ci errors
2020-11-30 15:37:56 -10:00
Sirish Bathina
a59299897c
FIO in go (#25)
* inital changes for go fio

* Most of it

* root command updates

* more changes

* fioscript

* update message to point to fio script
2020-10-28 16:44:35 -10:00
Sirish Bathina
9bb782b8de additional sleep 2020-10-15 15:19:54 -10:00
Sirish Bathina
2aea4f0646 logo fun 2020-10-15 15:09:13 -10:00
Sirish Bathina
cb60f3e76d pulling driver info from sig storage 2020-10-14 09:09:00 -10:00
Sirish Bathina
36ebf899c1 Kubernetes and provisioner checks 2020-10-12 16:06:26 -10:00