mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-28 18:38:40 +00:00
Fix background scan with request.operation (#4947)
* update version drop-down Signed-off-by: Chip Zoller <chipzoller@gmail.com> * Add workflow to detect and report on image vulnerabilities Signed-off-by: Chip Zoller <chipzoller@gmail.com> * pin deps Signed-off-by: Chip Zoller <chipzoller@gmail.com> * bump JasonEtco/create-an-issue Signed-off-by: Chip Zoller <chipzoller@gmail.com> * bump versions in drop-downs Signed-off-by: Chip Zoller <chipzoller@gmail.com> * fix background mode scan with request.operation Signed-off-by: Chip Zoller <chipzoller@gmail.com> * Revert "bump versions in drop-downs" This reverts commit5fcea048dd
. * Revert "bump JasonEtco/create-an-issue" This reverts commitf0d44c7aca
. Signed-off-by: Chip Zoller <chipzoller@gmail.com> Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
This commit is contained in:
parent
56d90888e0
commit
3c70843fdf
2 changed files with 7 additions and 5 deletions
|
@ -34,6 +34,8 @@ annotations:
|
|||
- kind: added
|
||||
description: Support for failurePolicy setting in kyverno-policies helm chart
|
||||
- kind: added
|
||||
description: Add posibility to set validationFailureAction by Policy
|
||||
description: Add possibility to set validationFailureAction by Policy
|
||||
- kind: added
|
||||
description: Added ability to get additional policies from restricted
|
||||
- kind: fixed
|
||||
description: Applied fix in preconditions for background mode
|
||||
|
|
|
@ -46,7 +46,7 @@ spec:
|
|||
preconditions:
|
||||
{{- if .all }}
|
||||
all:
|
||||
- key: "{{`{{ request.operation }}`}}"
|
||||
- key: "{{`{{ request.operation || 'BACKGROUND' }}`}}"
|
||||
operator: NotEquals
|
||||
value: DELETE
|
||||
{{- toYaml .all | nindent 8 }}
|
||||
|
@ -57,7 +57,7 @@ spec:
|
|||
{{- else }}
|
||||
preconditions:
|
||||
all:
|
||||
- key: "{{`{{ request.operation }}`}}"
|
||||
- key: "{{`{{ request.operation || 'BACKGROUND' }}`}}"
|
||||
operator: NotEquals
|
||||
value: DELETE
|
||||
{{- end }}
|
||||
|
@ -88,7 +88,7 @@ spec:
|
|||
preconditions:
|
||||
{{- if .all }}
|
||||
all:
|
||||
- key: "{{`{{ request.operation }}`}}"
|
||||
- key: "{{`{{ request.operation || 'BACKGROUND' }}`}}"
|
||||
operator: NotEquals
|
||||
value: DELETE
|
||||
{{- toYaml .all | nindent 8 }}
|
||||
|
@ -99,7 +99,7 @@ spec:
|
|||
{{- else }}
|
||||
preconditions:
|
||||
all:
|
||||
- key: "{{`{{ request.operation }}`}}"
|
||||
- key: "{{`{{ request.operation || 'BACKGROUND' }}`}}"
|
||||
operator: NotEquals
|
||||
value: DELETE
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue