aboutsummaryrefslogtreecommitdiffstats
path: root/tools/moon_kubernetes/templates/moon_forming.yaml
diff options
context:
space:
mode:
authorRHE <rebirthmonkey@gmail.com>2017-12-26 15:38:11 +0100
committerRHE <rebirthmonkey@gmail.com>2017-12-26 15:38:11 +0100
commit69910cdd22ec3b27f3e1f608b317f9683de1dcf6 (patch)
tree93b38d646d4f42df1eef564ec887dad46356fd46 /tools/moon_kubernetes/templates/moon_forming.yaml
parent454e9c5f8664ea99ccea2417b6cc3ffb238cf834 (diff)
moon kubernetes review
Change-Id: I49a62f18ac6ecd06cdbc8e51b4e8ba00971ce6aa Signed-off-by: RHE <rebirthmonkey@gmail.com>
Diffstat (limited to 'tools/moon_kubernetes/templates/moon_forming.yaml')
-rw-r--r--tools/moon_kubernetes/templates/moon_forming.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/moon_kubernetes/templates/moon_forming.yaml b/tools/moon_kubernetes/templates/moon_forming.yaml
new file mode 100644
index 00000000..efcc51d8
--- /dev/null
+++ b/tools/moon_kubernetes/templates/moon_forming.yaml
@@ -0,0 +1,31 @@
+apiVersion: batch/v1
+kind: Job
+metadata:
+ name: forming
+ namespace: moon
+spec:
+ template:
+ metadata:
+ name: forming
+ spec:
+ containers:
+ - name: forming
+ image: wukongsun/moon_forming:v1.3
+ env:
+ - name: POPULATE_ARGS
+ value: "--verbose" # debug mode: --debug
+ volumeMounts:
+ - name: config-volume
+ mountPath: /etc/moon
+ - name: test-volume
+ mountPath: /data
+ volumes:
+ - name: config-volume
+ configMap:
+ name: moon-config
+ - name: test-volume
+ hostPath:
+ path: tests/functional/scenario_enabled
+ type: Directory
+ restartPolicy: Never
+ #backoffLimit: 4 \ No newline at end of file