-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.yaml
49 lines (46 loc) · 1022 Bytes
/
plugin.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
kind: ExecutorPlugin
apiVersion: argoproj.io/v1alpha1
metadata:
name: hello
annotations:
workflows.argoproj.io/description: |
This is the "hello world" plugin.
Example:
```yaml
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: hello-example-
spec:
entrypoint: main
templates:
- name: main
plugin:
hello: { }
```
workflows.argoproj.io/version: '>= v3.3'
spec:
sidecar:
container:
command:
- python
- -c
image: python:alpine
name: hello-executor-plugin
ports:
- containerPort: 4355
resources:
requests:
cpu: 100m
memory: 32Mi
limits:
cpu: 200m
memory: 64Mi
securityContext:
runAsNonRoot: true
runAsUser: 1000
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL