This commit is contained in:
2020-03-12 14:06:49 +01:00
parent ebc471ff87
commit dbf15e29cb
2 changed files with 22 additions and 16 deletions

View File

@@ -1,21 +1,19 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: getting-started
---
apiVersion: tekton.dev/v1alpha1
kind: EventListener
metadata:
name: github-event-listener
#namespace: stage-tekton-pipeline
name: getting-started-listener
namespace: getting-started
spec:
serviceAccountName: service-acc
serviceAccountName: tekton-triggers-admin
triggers:
- name: github-trigger
interceptors:
- github:
secretRef:
secretName: webhook-secret
secretKey: secret
eventTypes:
- pull_request
- push
bindings:
name: github-trigger-binding
- bindings:
- name: getting-started-pipelinebinding
template:
name: github-trigger-template
name: getting-started-triggertemplate