-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpipelinerun.yaml
62 lines (62 loc) · 1.81 KB
/
pipelinerun.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
kind: Pipeline
apiVersion: tekton.dev/v1beta1
metadata:
name: kraken-scenario-example
labels:
app.kubernetes.io/name: "kraken-scenario-example-pipeline"
tool: cerberus
annotations:
tekton.dev/displayName: Define a pipeline with a single cerberus check of an Openshift cluster
spec:
params:
- name: cloudProviderCredentialsSecret
type: string
description: Name of the secret key holding the aws-credentials (mandatory but used only for aws infrastructure chaos test).
default: kraken-cloudprovider-creds
tasks:
- name: kraken-scenario
params:
- name: cloudProviderCredentialsSecret
value: $(params.cloudProviderCredentialsSecret)
taskRef:
kind: Task
name: kraken-scenario
workspaces:
- name: kraken-kubeconfig
workspace: kraken-kubeconfig
- name: kraken-config
workspace: kraken-config
- name: kraken-common
workspace: kraken-common
workspaces:
- name: kraken-kubeconfig
- name: kraken-config
- name: kraken-common
---
kind: PipelineRun
apiVersion: tekton.dev/v1beta1
metadata:
name: kraken-scenario-example-run
labels:
app.kubernetes.io/name: "kraken-scenario-example-pipelinerun"
tekton.dev/pipeline: kraken-scenario-example
tool: kraken
annotations:
tekton.dev/displayName: Run a pipeline with a single kraken chaos test of 2 x up to 3 pod pickup by hazard.
spec:
params:
- name: cloudProviderCredentialsSecret
value: "kraken-cloudprovider-creds"
pipelineRef:
name: kraken-scenario-example
workspaces:
- name: kraken-kubeconfig
configMap:
name: kraken-kubeconfig
- name: kraken-config
configMap:
name: kraken-config-example
- name: kraken-common
configMap:
name: kraken-common-example