File tree Expand file tree Collapse file tree 4 files changed +15
-32
lines changed Expand file tree Collapse file tree 4 files changed +15
-32
lines changed Original file line number Diff line number Diff line change 11apiVersion : v1
22kind : ConfigMap
33metadata :
4- name : {{ include "commander.fullname" . }}-scenario
4+ name : {{ include "commander.fullname" . }}-warnet
55 labels :
66 {{- include "commander.labels" . | nindent 4 }}
77binaryData :
8- scenario.py : {{ .Values.scenario }}
8+ warnet.json : {{ .Values.warnet }}
99---
1010apiVersion : v1
1111kind : ConfigMap
1212metadata :
13- name : {{ include "commander.fullname" . }}-warnet
13+ name : {{ include "commander.fullname" . }}-archive
1414 labels :
1515 {{- include "commander.labels" . | nindent 4 }}
1616binaryData :
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:
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
23+ - name : archive
24+ mountPath : /archive.pyz
25+ subPath : archive.pyz
2626 volumes :
27- - name : scenario
28- configMap :
29- name : {{ include "commander.fullname" . }}-scenario
3027 - name : warnet
3128 configMap :
3229 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
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,8 @@ volumeMounts: []
7165
7266port :
7367
74- scenario : " "
75-
7668warnet : " "
7769
70+ archive : " "
71+
7872args : " "
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments