forked from fybrik/hello-world-read-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhello-world-read-module.yaml
39 lines (38 loc) · 955 Bytes
/
hello-world-read-module.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
apiVersion: app.fybrik.io/v1alpha1
kind: FybrikModule
metadata:
name: hello-world-read-module
labels:
name: hello-world-read-module
version: 0.0.1 # semantic version
namespace: fybrik-system
spec:
type: service
chart:
name: ghcr.io/mohammad-nassar10/hello-world-read-module-chart:v0.0.1
values:
image.tag: v0.0.1
capabilities:
- capability: read
scope: workload
actions:
- id: redact-ID
level: 2 # column
api:
endpoint:
port: 80
scheme: grpc
protocol: s3
dataformat: csv
supportedInterfaces:
- source:
protocol: s3
dataformat: parquet
- source:
protocol: s3
dataformat: csv
statusIndicators:
- kind: hello-world-read-module
successCondition: status.status == SUCCEEDED
failureCondition: status.status == FAILED
errorMessage: status.error