Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding --show-tree flag to both "./kubestr browse pvc" & "./kubestr browse snapshot" commands #278

Merged
merged 43 commits into from
Aug 2, 2024
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
36882b5
Adding the kubestr browse pvc command. Handling kubestr browse suppor…
shlokc9 Jul 24, 2024
0927b25
Adding browse snapshot command. Updating browse command to browse pvc…
shlokc9 Jul 24, 2024
c2d3570
chore(deps): bump github/codeql-action in the github-actions group (#…
dependabot[bot] Jul 22, 2024
b6bf82c
chore(deps): bump docker/build-push-action in the docker group (#273)
dependabot[bot] Jul 22, 2024
32cecd0
Merge branch 'kastenhq:master' into browse-pvc-snapshot
shlokc9 Jul 24, 2024
a6ac177
Adding --show-tree flag for browse snapshot & browse pvc commands
shlokc9 Jul 24, 2024
e2aa023
Removing unused snapshot function parameter in cleanup
shlokc9 Jul 25, 2024
1f10988
Adding KubeExecutor Exec helper function to execute tree command
shlokc9 Jul 26, 2024
34744f6
Adding --show-tree logic in pvc_inspector.go
shlokc9 Jul 26, 2024
cbed58b
Adding --show-tree logic in snapshot_inspector.go
shlokc9 Jul 26, 2024
2f8e255
Printing out the tree structure for --show-tree
shlokc9 Jul 27, 2024
9098f94
Updating mock tests for new code changes
shlokc9 Jul 27, 2024
a0c97b9
Updating mount path in container args for creating a browse pod
shlokc9 Jul 29, 2024
16e29c4
Updating the CSITestSuite.TestCreateInspectorApplication for changes …
shlokc9 Jul 29, 2024
8b44243
Adding Deprecated msg to the 'browse' command
shlokc9 Jul 29, 2024
0bb5fd5
Adding mock tests for SnapshotBrowserStepper
shlokc9 Jul 27, 2024
778b71c
Adding fake tests for snapshot_inspector.go
shlokc9 Jul 29, 2024
b17344a
Renamed testcase CSITestSuite.TestCreateInspectorApplication to TestC…
shlokc9 Jul 29, 2024
f848045
Adding snapshot_inspector_steps_test.go
shlokc9 Jul 29, 2024
78d4981
Updating mock tests for new code changes
shlokc9 Jul 27, 2024
74bd34d
Updating the mount paths in CSITestSuite.TestCreateInspectorApplicati…
shlokc9 Jul 29, 2024
4e160b1
Updating Deprecated msg for 'browse' command
shlokc9 Jul 30, 2024
62af178
Making namespace, runAsUser & localport flags persistent
shlokc9 Jul 31, 2024
dc4a65e
Removing namespace, runAsUser & localport flags for browse snapshot b…
shlokc9 Jul 31, 2024
2d419ec
Adding --show-tree flag for browse snapshot & browse pvc commands
shlokc9 Jul 24, 2024
0314b8e
Updating namespace flag usage for better understanding
shlokc9 Jul 31, 2024
f63aebf
Removing storage class flag
shlokc9 Jul 31, 2024
e0f5dcf
Adding --show-tree logic in snapshot_inspector.go
shlokc9 Jul 26, 2024
d7b492c
Updating mock objects for SnapshotBrowserStepper
shlokc9 Aug 1, 2024
938e625
Adding --show-tree flag for browse snapshot & browse pvc commands
shlokc9 Jul 24, 2024
127e473
Removing storage class flag
shlokc9 Jul 31, 2024
e781e2e
Adding --show-tree flag for browse snapshot & browse pvc commands
shlokc9 Jul 24, 2024
ffd10ad
Adding --show-tree logic in snapshot_inspector.go
shlokc9 Jul 26, 2024
09e7564
Merge branch 'master' into browse-show-tree
shlokc9 Aug 1, 2024
3ae24b3
Passing showTree var as function argument
shlokc9 Aug 1, 2024
e79535a
Making --show-tree a persistent flag
shlokc9 Aug 1, 2024
df910e2
Removing ShowTree dummy condition
shlokc9 Aug 1, 2024
36b01b0
Merge branch 'master' into browse-show-tree
shlokc9 Aug 2, 2024
1f20ed3
Removing duplicate browseSnapshotCmd
shlokc9 Aug 2, 2024
0d60092
Adding --show-tree flag for browse snapshot & browse pvc commands
shlokc9 Jul 24, 2024
dddd9bf
Making --show-tree a persistent flag
shlokc9 Aug 1, 2024
5a44008
Adding --show-tree flag for browse snapshot & browse pvc commands
shlokc9 Jul 24, 2024
02ec051
Making --show-tree a persistent flag
shlokc9 Aug 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updating the CSITestSuite.TestCreateInspectorApplication for changes …
…in the mount path
shlokc9 committed Jul 29, 2024
commit 16e29c4c76de36e07dac35860b00d397d143301c
8 changes: 4 additions & 4 deletions pkg/csi/pvc_inspector_steps_test.go
Original file line number Diff line number Diff line change
@@ -541,8 +541,8 @@ func (s *CSITestSuite) TestCreateInspectorApplication(c *C) {
GenerateName: clonedPodGenerateName,
PVCName: "pvc1",
Namespace: "ns",
ContainerArgs: []string{"--noauth", "-r", "/data"},
MountPath: "/data",
ContainerArgs: []string{"--noauth", "-r", "/pvc-data"},
MountPath: "/pvc-data",
RunAsUser: 100,
ContainerImage: "filebrowser/filebrowser:v2",
}).Return(&v1.Pod{
@@ -596,8 +596,8 @@ func (s *CSITestSuite) TestCreateInspectorApplication(c *C) {
GenerateName: clonedPodGenerateName,
PVCName: "pvc1",
Namespace: "ns",
ContainerArgs: []string{"--noauth", "-r", "/data"},
MountPath: "/data",
ContainerArgs: []string{"--noauth", "-r", "/pvc-data"},
MountPath: "/pvc-data",
RunAsUser: 100,
ContainerImage: "filebrowser/filebrowser:v2",
}).Return(&v1.Pod{