Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 8cf6bd6

Browse files
committed
Mount "scan-results" volume as read-only in lurcher sidecar
1 parent d7cd80f commit 8cf6bd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

operator/controllers/execution/scan_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ func (r *ScanReconciler) constructJobForScan(scan *executionv1.Scan, scanType *e
521521
{
522522
Name: "scan-results",
523523
MountPath: "/home/securecodebox/",
524+
ReadOnly: true,
524525
},
525526
},
526527
}

0 commit comments

Comments
 (0)