fix pols for 1.18

This commit is contained in:
2026-05-14 18:55:39 +07:00
parent 5578400e7f
commit ffa61ab646
19 changed files with 266 additions and 180 deletions
+6 -6
View File
@@ -41,12 +41,12 @@ spec:
- list: "request.object.spec.containers"
preconditions:
any:
- key: "{{ element.image }}"
operator: Contains
value: "openjdk-v1"
- key: "{{ element.image }}"
operator: Contains
value: "eclipse-v1"
- key: "{{ regex_match('openjdk-v1', element.image) }}"
operator: Equals
value: true
- key: "{{ regex_match('eclipse-v1', element.image) }}"
operator: Equals
value: true
patchStrategicMerge:
spec:
containers: