fix pols for 1.18
This commit is contained in:
@@ -52,6 +52,6 @@ spec:
|
||||
deny:
|
||||
conditions:
|
||||
any:
|
||||
- key: "{{ request.object.spec.volumes[].hostPath | length(@) }}"
|
||||
- key: "{{ request.object.spec.volumes[?hostPath] | length(@) }}"
|
||||
operator: GreaterThan
|
||||
value: "0"
|
||||
|
||||
Reference in New Issue
Block a user