openshift / pipelines-tutorial

A step-by-step tutorial showing OpenShift Pipelines
Apache License 2.0
298 stars 619 forks source link

Error from server (MethodNotAllowed) while running oc appy -f triggers template #157

Closed soukainakhalkhouli closed 1 year ago

soukainakhalkhouli commented 2 years ago

Hello team,

I'm getting this error while running oc appy -f triggers template i'm using tekton client below version :

oc apply -f build-and-deploy-openshift-triggers.yaml triggertemplate.triggers.tekton.dev/catapp-build-and-deploy unchanged triggerbinding.triggers.tekton.dev/catapp-build-and-deploy unchanged serviceaccount/catapp unchanged role.rbac.authorization.k8s.io/catapp unchanged rolebinding.rbac.authorization.k8s.io/catapp unchanged route.route.openshift.io/el-catapp unchanged Error from server (MethodNotAllowed): error when creating "build-and-deploy-openshift-triggers.yaml": create not allowed while custom resource definition is terminating

Client version: 0.23.1 Pipeline version: v0.34.1 Triggers version: v0.19.1

Trigger template code : apiVersion: triggers.tekton.dev/v1alpha1 kind: TriggerTemplate metadata: name: catapp-build-and-deploy spec: params:

openshift-bot commented 2 years ago

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot commented 1 year ago

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten /remove-lifecycle stale

openshift-bot commented 1 year ago

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen. Mark the issue as fresh by commenting /remove-lifecycle rotten. Exclude this issue from closing again by commenting /lifecycle frozen.

/close

openshift-ci[bot] commented 1 year ago

@openshift-bot: Closing this issue.

In response to [this](https://github.com/openshift/pipelines-tutorial/issues/157#issuecomment-1237534264): >Rotten issues close after 30d of inactivity. > >Reopen the issue by commenting `/reopen`. >Mark the issue as fresh by commenting `/remove-lifecycle rotten`. >Exclude this issue from closing again by commenting `/lifecycle frozen`. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.