-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpsrapprovalworflowintegration.yaml
55 lines (55 loc) · 1.34 KB
/
mpsrapprovalworflowintegration.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
group: management
apiVersion: v1alpha1
kind: Integration
title: Integrations for Marketplace Product Subscription Approvals
name: mpsrintegration
spec:
description: This is a group of resources to be used for marketplace subscription approval workflows
---
name: mpsrintegration-secret
kind: Secret
apiVersion: v1alpha1
title: Secret for Marketplace Product Subscription Approvals integration webhook
metadata:
scope:
kind: Integration
name: mpsrintegration
spec:
data:
Authorization: Basic <<Base64 Encoded username:password for the HTTP/S Server for the Integration>>
---
group: management
apiVersion: v1alpha1
kind: Webhook
title: Webhook for Marketplace Product Subscription Approvals integration
name: mpsrintegration-webhook
metadata:
scope:
kind: Integration
name: mpsrintegration
spec:
enabled: true
url: https://<<YOUR INTEGRATION URL>>/mpsrwebhookhandler
auth:
secret:
name: mpsrintegration-secret
key: Authorization
---
group: management
apiVersion: v1alpha1
kind: ResourceHook
title: Resource Hook for Marketplace Product Subscription Approvals integration
name: mpsrintegration-resourcehook
metadata:
scope:
kind: Integration
name: mpsrintegration
spec:
triggers:
- group: catalog
kind: Subscription
name: "*"
type:
- updated
webhooks:
- mpsrintegration-webhook