-
Notifications
You must be signed in to change notification settings - Fork 3
/
workflow.yaml
62 lines (62 loc) · 1.51 KB
/
workflow.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
---
apiVersion: alert.newrelic.upbound.io/v1alpha1
kind: Destination
metadata:
annotations:
meta.upbound.io/example-id: alert/v1alpha1/destination
labels:
testing.upbound.io/example-name: example-destination
name: foo
spec:
forProvider:
name: email-example
property:
- key: email
value: "[email protected],[email protected]"
type: EMAIL
---
apiVersion: alert.newrelic.upbound.io/v1alpha1
kind: Channel
metadata:
annotations:
meta.upbound.io/example-id: alert/v1alpha1/channel
labels:
testing.upbound.io/example-name: example-channel
name: foo
spec:
forProvider:
destinationIdSelector:
matchLabels:
testing.upbound.io/example-name: example-destination
name: webhook-example
product: IINT
property:
- key: customDetailsEmail
label: Payload Template
value: 'issue id - {{issueId}}'
type: EMAIL
---
apiVersion: workflow.newrelic.upbound.io/v1alpha1
kind: Workflow
metadata:
annotations:
meta.upbound.io/example-id: workflow/v1alpha1/workflow
labels:
testing.upbound.io/example-name: foo
name: foo
spec:
forProvider:
destination:
- channelIdSelector:
matchLabels:
testing.upbound.io/example-name: example-channel
issuesFilter:
- name: filter-name
predicate:
- attribute: accumulations.tag.team
operator: EXACTLY_MATCHES
values:
- growth
type: FILTER
mutingRulesHandling: NOTIFY_ALL_ISSUES
name: workflow-example