File tree Expand file tree Collapse file tree 4 files changed +3
-37
lines changed Expand file tree Collapse file tree 4 files changed +3
-37
lines changed Original file line number Diff line number Diff line change 11apiVersion : v1
22kind : ConfigMap
3- metadata :
4- name : {{ include "commander.fullname" . }}-scenario
5- labels :
6- {{- include "commander.labels" . | nindent 4 }}
7- binaryData :
8- scenario.py : {{ .Values.scenario }}
9- ---
10- apiVersion : v1
11- kind : ConfigMap
123metadata :
134 name : {{ include "commander.fullname" . }}-warnet
145 labels :
Original file line number Diff line number Diff line change @@ -10,23 +10,17 @@ spec:
1010 restartPolicy : {{ .Values.restartPolicy }}
1111 containers :
1212 - 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
1515 command : ["/bin/sh", "-c"]
1616 args :
1717 - |
18- python3 /scenario.py {{ .Values.args }}
18+ python3 /archive.pyz {{ .Values.args }}
1919 volumeMounts :
20- - name : scenario
21- mountPath : /scenario.py
22- subPath : scenario.py
2320 - name : warnet
2421 mountPath : /warnet.json
2522 subPath : warnet.json
2623 volumes :
27- - name : scenario
28- configMap :
29- name : {{ include "commander.fullname" . }}-scenario
3024 - name : warnet
3125 configMap :
3226 name : {{ include "commander.fullname" . }}-warnet
Original file line number Diff line number Diff line change @@ -5,12 +5,6 @@ namespace: warnet
55
66restartPolicy : Never
77
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-
148imagePullSecrets : []
159nameOverride : " "
1610fullnameOverride : " "
@@ -71,8 +65,6 @@ volumeMounts: []
7165
7266port :
7367
74- scenario : " "
75-
7668warnet : " "
7769
7870args : " "
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments