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

Error when clicking the Add Trigger command but triggers are not installed on cluster #405

Closed
lstocchi opened this issue Sep 23, 2020 · 0 comments · Fixed by #409
Closed
Assignees
Labels
in progress kind/bug Something isn't working
Milestone

Comments

@lstocchi
Copy link
Contributor

A user, who doesn't have tekton triggers installed in the cluster, is still able to see the Add Trigger action. If clicked an error is shown

image

The error occurs in const listTriggerBinding = JSON.parse(triggerBinding.stdout).items; (webviewstartpipeline.ts) because the triggerBinding stdout is empty.

To replicate it just delete all triggers from your cluster
`oc delete -f https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml"

and click the Add Trigger command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants