File tree 4 files changed +15
-32
lines changed
4 files changed +15
-32
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
kind : ConfigMap
3
3
metadata :
4
- name : {{ include "commander.fullname" . }}-scenario
4
+ name : {{ include "commander.fullname" . }}-warnet
5
5
labels :
6
6
{{- include "commander.labels" . | nindent 4 }}
7
7
binaryData :
8
- scenario.py : {{ .Values.scenario }}
8
+ warnet.json : {{ .Values.warnet }}
9
9
---
10
10
apiVersion : v1
11
11
kind : ConfigMap
12
12
metadata :
13
- name : {{ include "commander.fullname" . }}-warnet
13
+ name : {{ include "commander.fullname" . }}-archive
14
14
labels :
15
15
{{- include "commander.labels" . | nindent 4 }}
16
16
binaryData :
17
- warnet.json : {{ .Values.warnet }}
17
+ archive.pyz : {{ .Values.archive }}
Original file line number Diff line number Diff line change @@ -10,23 +10,23 @@ spec:
10
10
restartPolicy : {{ .Values.restartPolicy }}
11
11
containers :
12
12
- name : {{ .Chart.Name }}
13
- image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }} "
14
- imagePullPolicy : {{ .Values.image.pullPolicy }}
13
+ image : python:3.12-slim
14
+ imagePullPolicy : IfNotPresent
15
15
command : ["/bin/sh", "-c"]
16
16
args :
17
17
- |
18
- python3 /scenario.py {{ .Values.args }}
18
+ python3 /archive.pyz {{ .Values.args }}
19
19
volumeMounts :
20
- - name : scenario
21
- mountPath : /scenario.py
22
- subPath : scenario.py
23
20
- name : warnet
24
21
mountPath : /warnet.json
25
22
subPath : warnet.json
23
+ - name : archive
24
+ mountPath : /archive.pyz
25
+ subPath : archive.pyz
26
26
volumes :
27
- - name : scenario
28
- configMap :
29
- name : {{ include "commander.fullname" . }}-scenario
30
27
- name : warnet
31
28
configMap :
32
29
name : {{ include "commander.fullname" . }}-warnet
30
+ - name : archive
31
+ configMap :
32
+ name : {{ include "commander.fullname" . }}-archive
Original file line number Diff line number Diff line change @@ -5,12 +5,6 @@ namespace: warnet
5
5
6
6
restartPolicy : Never
7
7
8
- image :
9
- repository : bitcoindevproject/warnet-commander
10
- pullPolicy : IfNotPresent
11
- # Overrides the image tag whose default is the chart appVersion.
12
- tag : " latest"
13
-
14
8
imagePullSecrets : []
15
9
nameOverride : " "
16
10
fullnameOverride : " "
@@ -71,8 +65,8 @@ volumeMounts: []
71
65
72
66
port :
73
67
74
- scenario : " "
75
-
76
68
warnet : " "
77
69
70
+ archive : " "
71
+
78
72
args : " "
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments