You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kueue: skip old platform param if new param exists
We came across a pipelinerun that was using the new parameter format to
parameterize the old template format via a matrix definition. While
it's likely that the pipelinerun is doing extra configuration here that
it doesn't need to (it had `PLATFORM` defined in both matrix params and
task params), tekton doesn't reject it. Therefore, we need to consider
the possibility that these pipelineruns may exist - tekton-kueue will
need to handle such pipelines without issues.
The problem in the pipelinerun that caused issues was that the old
platform parameter was populated with substitution data that cannot fit
inside a label. The CEL expressions don't run against the data that has
been substituted in (that would require us to monitor TaskRuns instead),
so they would try to create labels with invalid characters, which would
be rejected by kubernetes. Since the old platforms parameter will only
contain garbage like this, and this can happen only if the new platform
parameter is populated, only extract the old parameter if the new
parameter isn't exist.
See KONFLUX-9917 for further details.
Fixes: KONFLUX-9917
Signed-off-by: Andy Sadler <[email protected]>
0 commit comments