Commit 16c864b
authored
kueue: skip old platform param if new param exists in production (#9125)
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 KONFLUX-9917 for issues that have already cropped up in our
production clusters.
Fixes: KONFLUX-9917
Signed-off-by: Andy Sadler <[email protected]>1 parent 72cc19c commit 16c864b
File tree
2 files changed
+12
-0
lines changed- components/kueue/production/base/tekton-kueue
- hack
2 files changed
+12
-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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
772 | 776 | | |
773 | 777 | | |
774 | 778 | | |
| |||
0 commit comments