Skip to content

Commit

Permalink
Updating mount path in container args for creating a browse pod
Browse files Browse the repository at this point in the history
  • Loading branch information
shlokc9 committed Jul 29, 2024
1 parent 9098f94 commit a0c97b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/csi/pvc_inspector.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (p *pvcBrowserSteps) CreateInspectorApplication(ctx context.Context, args *
Namespace: args.Namespace,
RunAsUser: args.RunAsUser,
ContainerImage: "filebrowser/filebrowser:v2",
ContainerArgs: []string{"--noauth", "-r", "/data"},
ContainerArgs: []string{"--noauth", "-r", "/pvc-data"},
MountPath: "/pvc-data",
}
if args.ShowTree {
Expand Down
2 changes: 1 addition & 1 deletion pkg/csi/snapshot_inspector.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func (s *snapshotBrowserSteps) CreateInspectorApplication(ctx context.Context, a
Namespace: args.Namespace,
RunAsUser: args.RunAsUser,
ContainerImage: "filebrowser/filebrowser:v2",
ContainerArgs: []string{"--noauth", "-r", "/data"},
ContainerArgs: []string{"--noauth", "-r", "/snapshot-data"},
MountPath: "/snapshot-data",
}
if args.ShowTree {
Expand Down

0 comments on commit a0c97b9

Please sign in to comment.