This repository was archived by the owner on Oct 14, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +52
-1
lines changed
hooks/declarative-subsequent-scans/templates Expand file tree Collapse file tree 4 files changed +52
-1
lines changed Original file line number Diff line number Diff line change 1616 {{- else }}
1717 image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
1818 {{- end }}
19- {{- end }}
19+ {{- end }}
20+ serviceAccountName : declarative-combined-scans
Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : RoleBinding
3+ metadata :
4+ annotations :
5+ description : DeclarativeCombinedScansHooks needs to have the rights to create new scans and the usual patch rules to update the scan status
6+ name : declarative-combined-scans
7+ namespace : {{ .Release.Namespace }}
8+ roleRef :
9+ apiGroup : rbac.authorization.k8s.io
10+ kind : Role
11+ name : declarative-combined-scans
12+ subjects :
13+ - kind : ServiceAccount
14+ name : declarative-combined-scans
Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : Role
3+ metadata :
4+ annotations :
5+ description : DeclarativeCombinedScansHooks needs to have the rights to create new scans and the usual patch rules to update the scan status
6+ name : declarative-combined-scans
7+ namespace : {{ .Release.Namespace }}
8+ rules :
9+ - apiGroups :
10+ - execution.experimental.securecodebox.io
11+ resources :
12+ - scans
13+ verbs :
14+ - get
15+ - create
16+ - apiGroups :
17+ - execution.experimental.securecodebox.io
18+ resources :
19+ - scans/status
20+ verbs :
21+ - get
22+ - patch
23+ - apiGroups :
24+ - cascading.experimental.securecodebox.io
25+ resources :
26+ - cascadingrules
27+ verbs :
28+ - get
29+ - list
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : ServiceAccount
3+ metadata :
4+ annotations :
5+ description : DeclarativeCombinedScansHooks needs to have the rights to create new scans and the usual patch rules to update the scan status
6+ name : declarative-combined-scans
7+ namespace : {{ .Release.Namespace }}
You can’t perform that action at this time.
0 commit comments