Closed soukainakhalkhouli closed 1 year 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
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
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-bot: Closing this issue.
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:
name: DEPLOYMENT value: $(params.DEPLOYMENT)
apiVersion: triggers.tekton.dev/v1alpha1 kind: TriggerBinding metadata: name: catapp-build-and-deploy spec: params:
name: SERVICE_ACCOUNT value: pipeline
apiVersion: v1 kind: ServiceAccount metadata: name: catapp
kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: catapp rules:
Permissions for every EventListener deployment to function
Permissions to create resources in associated TriggerTemplates
apiGroups: ["tekton.dev"] resources: ["pipelineruns"] verbs: ["create"]
apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: catapp subjects:
kind: ServiceAccount name: catapp roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: catapp
apiVersion: triggers.tekton.dev/v1alpha1 kind: EventListener metadata: name: catapp spec: serviceAccountName: catapp triggers:
name: catapp-build-and-deploy
apiVersion: route.openshift.io/v1 kind: Route metadata: labels: eventlistener: catapp name: el-catapp spec: port: targetPort: http-listener to: kind: Service name: el-catapp