aboutsummaryrefslogtreecommitdiffstats
path: root/tools/moon_kubernetes/templates
diff options
context:
space:
mode:
Diffstat (limited to 'tools/moon_kubernetes/templates')
-rw-r--r--tools/moon_kubernetes/templates/moon_forming_functest.yaml30
-rw-r--r--tools/moon_kubernetes/templates/moon_gui.yaml2
2 files changed, 31 insertions, 1 deletions
diff --git a/tools/moon_kubernetes/templates/moon_forming_functest.yaml b/tools/moon_kubernetes/templates/moon_forming_functest.yaml
new file mode 100644
index 00000000..4cb2c3a0
--- /dev/null
+++ b/tools/moon_kubernetes/templates/moon_forming_functest.yaml
@@ -0,0 +1,30 @@
+apiVersion: batch/v1
+kind: Job
+metadata:
+ name: functest
+ namespace: moon
+spec:
+ template:
+ metadata:
+ name: functest
+ spec:
+ containers:
+ - name: functest
+ image: wukongsun/moon_forming:dev
+ env:
+ - name: COMMAND
+ value: "functest"
+ 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 \ No newline at end of file
diff --git a/tools/moon_kubernetes/templates/moon_gui.yaml b/tools/moon_kubernetes/templates/moon_gui.yaml
index 2d355216..7c6ab732 100644
--- a/tools/moon_kubernetes/templates/moon_gui.yaml
+++ b/tools/moon_kubernetes/templates/moon_gui.yaml
@@ -13,7 +13,7 @@ spec:
hostname: gui
containers:
- name: gui
- image: wukongsun/moon_gui:v4.3.1
+ image: wukongsun/moon_gui:latest
env:
- name: MANAGER_HOST
value: "127.0.0.1"