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

Property apiVersion is not allowed in TriggerTemplate #553

Closed
b1zzu opened this issue Apr 9, 2021 · 0 comments · Fixed by #585
Closed

Property apiVersion is not allowed in TriggerTemplate #553

b1zzu opened this issue Apr 9, 2021 · 0 comments · Fixed by #585
Assignees
Milestone

Comments

@b1zzu
Copy link

b1zzu commented Apr 9, 2021

This is my TriggerTemplate:

apiVersion: triggers.tekton.dev/v1alpha1
kind: TriggerTemplate
metadata:
  name: tekton-configuration-cd
spec:
  resourcetemplates:
    - apiVersion: tekton.dev/v1beta1
      kind: TaskRun
      metadata:
        generateName: tekton-configuration-cd-
      spec:
        taskRef:
          name: tekton-configuration-cd
        resources:
          inputs:
            - name: tekton-configuration-git
              resourceRef:
                name: tekton-configuration-git

and I double-check it with the documentation multiple times and is correct, but on vs code with the tekton extension I see this error:
image

Tekton Pipelines: v0.13.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants