-
Notifications
You must be signed in to change notification settings - Fork 0
/
triggerTemplate.yaml
38 lines (38 loc) · 1.01 KB
/
triggerTemplate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
apiVersion: triggers.tekton.dev/v1beta1
kind: TriggerTemplate
metadata:
name: build-pipeline-template
namespace: dev
spec:
params:
- name: repo-url
- name: image-reference
- name: dockerfile-path
resourcetemplates:
- apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: clone-build-push-run-
namespace: dev
spec:
pipelineRef:
name: clone-build-push
workspaces:
- name: shared-data
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 3Gi
- name: quay-credentials
secret:
secretName: quay-credentials
params:
- name: repo-url
value: https://github.com/RapTho/gitops-service-mesh-demo.git
- name: image-reference
value: quay.io/raphael_tholl/sample-app:latest
- name: dockerfile-path
value: Containerfile