StepActions - Cluster resolver Tasks using StepActions look for the StepAction in the namespace of the calling Pipeline and not the Task #8380
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Expected Behavior
I have a Pipeline in
namespace-a
which includes a Task using the Cluster resolver to make use of a Task innamespace-b
. The Task innamespace-b
includes a StepAction using a name reference. The StepAction is also innamespace-b
. I expect the Pipeline to successfully load the Task from the other namespace and correctly look up the associated StepAction.Actual Behavior
The Pipeline Task fails with
TaskRunResolutionFailed
as it attempts to load the StepAction from the same namespace as the Pipeline (namespace-a
) rather than the namespace of the referenced Task (namespace-b
)Steps to Reproduce the Problem
ref
name in the same namespace as each other.cluster
resolver to include the Task from the other namespace.Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
The text was updated successfully, but these errors were encountered: