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

Commit d6bbf1b

Browse files
committed
Merge branch 'hooks' of github.com:secureCodeBox/secureCodeBox-v2-alpha into hooks
2 parents 41d9e64 + 17e451e commit d6bbf1b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: 2 additions & 2 deletions
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"
@@ -977,7 +977,7 @@ func (r *ScanReconciler) createJobForHook(hook *executionv1.ScanCompletionHook,
977977
{
978978
APIGroups: []string{"execution.experimental.securecodebox.io"},
979979
Resources: []string{"scans"},
980-
Verbs: []string{"get"},
980+
Verbs: []string{"get", "list", "create"},
981981
},
982982
{
983983
APIGroups: []string{"execution.experimental.securecodebox.io"},

0 commit comments

Comments
 (0)