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

Commit 17e451e

Browse files
committed
Extending RBAC Rules to allow scan hooks to create new scans (used by imperative-subsequent-scans)
1 parent ae8d657 commit 17e451e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version: 0.1.0
1010

1111
# This is the version number of the application being deployed. This version number should be
1212
# incremented each time you make changes to the application.
13-
appVersion: 1.17.0
13+
appVersion: 1.18.0
1414

1515
dependencies:
1616
- name: minio

operator/controllers/execution/scan_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ func (r *ScanReconciler) startReadOnlyHooks(scan *executionv1.Scan) error {
686686
{
687687
APIGroups: []string{"execution.experimental.securecodebox.io"},
688688
Resources: []string{"scans"},
689-
Verbs: []string{"get"},
689+
Verbs: []string{"get", "create", "list"},
690690
},
691691
}
692692
serviceAccountName := "scan-completion-hook"

0 commit comments

Comments
 (0)