Commit 738e195
committed
kueue: skip old platform param if new param exists
If both the old and the new platform params exist in the pipelinerun, we
should only pull from the new platform params. The old parameters are
likely going to be something we can't interpret with CEL expressions if
the new paramter is set. To avoid issues, only read from the old
expressions if the new expressions are not set.
See KFLUXINFRA-9917 for issues that have already cropped up in our
production clusters.
Fixes: KFLUXINFRA-9917
Signed-off-by: Andy Sadler <[email protected]>1 parent 3a480e5 commit 738e195
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
56 | 64 | | |
57 | 65 | | |
58 | 66 | | |
| |||
0 commit comments