Commit f226b87
Fix race condition: Kyverno policy now only triggers on CREATE
Added operations: [CREATE] filter to all 4 rules in the VolSync
backup/restore policy. Without this filter, Kyverno intercepted
all PVC operations including DELETE, preventing PVC deletion
and causing race conditions.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 44e8eb1 commit f226b87
2 files changed
Lines changed: 4 additions & 0 deletions
File tree
- docs
- infrastructure/controllers/kyverno/policies
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| 187 | + | |
| 188 | + | |
186 | 189 | | |
187 | 190 | | |
188 | 191 | | |
| |||
0 commit comments