Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster Resolver doesn't correctly support StepActions #8381

Closed
AverageMarcus opened this issue Nov 11, 2024 · 0 comments · Fixed by #8382
Closed

Cluster Resolver doesn't correctly support StepActions #8381

AverageMarcus opened this issue Nov 11, 2024 · 0 comments · Fixed by #8382
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@AverageMarcus
Copy link
Contributor

Expected Behavior

When referencing a StepAction using the cluster resolver I expect it to correctly resolve.

Actual Behavior

The cluster resolver returns the following error:

error requesting remote resource: invalid resource request "default/cluster-051262fe5f6cb1d73275329862a37096": unknown or unsupported resource kind ''stepaction''

Steps to Reproduce the Problem

  1. Create a Task that uses a StepAction, referenced using the cluster resolver.
  2. Run the Task
  3. Observe the error

Additional Info

From what I'm able to tell, I think this line is what is currently blocking things as the cluster resolver has already been updated to support StepActions but this line is still hardcoded to task and pipeline.

  • Kubernetes version:

    Output of kubectl version:

Client Version: v1.30.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.9
  • Tekton Pipeline version:

    Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

Client version: 0.37.0
Pipeline version: v0.65.1
Triggers version: v0.30.0
Dashboard version: v0.52.0
@AverageMarcus AverageMarcus added the kind/bug Categorizes issue or PR as related to a bug. label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant