mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-28 18:38:40 +00:00
Walk back change in PSS policy to send to to_upper (#5823)
* removed to_upper Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com> * additional braces removal Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com> * undo Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com> * changes stated in chart.yaml Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com> Signed-off-by: Vishal Choudhary <contactvishaltech@gmail.com>
This commit is contained in:
parent
b23965cd76
commit
3624697fdc
2 changed files with 4 additions and 2 deletions
|
@ -27,3 +27,5 @@ annotations:
|
|||
description: Add ability to configure autogen behavior
|
||||
- kind: fixed
|
||||
description: Support for customLabels, they were ignored up to now
|
||||
- kind: removed
|
||||
description: Walk back change in PSS policy to send to to_upper
|
||||
|
|
|
@ -75,7 +75,7 @@ spec:
|
|||
all:
|
||||
- key: ALL
|
||||
operator: AnyNotIn
|
||||
value: "{{`{{`}} element.securityContext.capabilities.drop[].to_upper(@) || `[]` {{`}}`}}"
|
||||
value: "{{`{{`}} element.securityContext.capabilities.drop[] || `[]` {{`}}`}}"
|
||||
- name: adding-capabilities-strict
|
||||
match:
|
||||
any:
|
||||
|
@ -115,7 +115,7 @@ spec:
|
|||
deny:
|
||||
conditions:
|
||||
all:
|
||||
- key: "{{`{{`}} element.securityContext.capabilities.add[].to_upper(@) || `[]` {{`}}`}}"
|
||||
- key: "{{`{{`}} element.securityContext.capabilities.add[] || `[]` {{`}}`}}"
|
||||
operator: AnyNotIn
|
||||
value:
|
||||
- NET_BIND_SERVICE
|
||||
|
|
Loading…
Add table
Reference in a new issue