blob: e876849e72811c02694562266272845166f447ee (
plain)
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
|
apiVersion: batch/v1
kind: Job
metadata:
name: functest
namespace: moon
spec:
template:
metadata:
name: functest
spec:
containers:
- name: functest
image: moonplatform/moon_python_func_test:latest
volumeMounts:
- name: config-volume
mountPath: /etc/moon
- name: tests-volume
mountPath: /data
volumes:
- name: config-volume
configMap:
name: moon-config
- name: tests-volume
hostPath:
path: "{{PATH}}"
restartPolicy: Never
#backoffLimit: 4
|