forked from kyma-project/kyma
/
k8s.yaml
56 lines (56 loc) · 1.1 KB
/
k8s.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
apiVersion: gateway.kyma.cx/v1alpha2
kind: Api
metadata:
namespace: kubeless-test
name: test-hello
labels:
function: test-hello
spec:
authentication: []
hostname: test-hello.kyma.local
service:
name: test-hello
port: 8080
---
apiVersion: gateway.kyma.cx/v1alpha2
kind: Api
metadata:
namespace: kubeless-test
name: test-event
labels:
function: test-event
spec:
authentication: []
hostname: test-event.kyma.local
service:
name: test-event
port: 8080
---
apiVersion: remoteenvironment.kyma.cx/v1alpha1
kind: EventActivation
metadata:
namespace: kubeless-test
name: test-event
spec:
source:
namespace: test
type: test
environment: test
---
apiVersion: eventing.kyma.cx/v1alpha1
kind: Subscription
metadata:
namespace: kubeless-test
name: test-event
spec:
endpoint: http://test-event.kubeless-test:8080/
push_request_timeout_ms: 2000
max_inflight: 400
include_subscription_name_header: true
include_topic_header: true
event_type: test
event_type_version: v1
source:
source_namespace: test
source_type: test
source_environment: test