-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.yaml
33 lines (33 loc) · 905 Bytes
/
config.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
apiVersion: v1
kind: ConfigMap
metadata:
name: piper-workflows-config
data:
default: |
spec:
volumes:
- name: shared-volume
emptyDir: { }
serviceAccountName: argo-wf
activeDeadlineSeconds: 7200 # (seconds) == 2 hours
ttlStrategy:
secondsAfterCompletion: 28800 # (seconds) == 8 hours
podGC:
strategy: OnPodSuccess
archiveLogs: true
artifactRepositoryRef:
configMap: artifact-repositories
nodeSelector:
node_pool: workflows
tolerations:
- effect: NoSchedule
key: node_pool
operator: Equal
value: workflows
onExit: # optinal, will be overwritten if specifc in .wokrflows/exit.yaml.
- name: github-status
template: exit-handler
arguments:
parameters:
- name: param1
value: "{{ workflow.labels.repo }}"