2828 {{ $key }}: {{ $value | quote }}
2929 {{- end }}
3030 spec :
31+ securityContext :
32+ runAsUser : 999
33+ fsGroup : 999
3134 restartPolicy : Always
3235 enableServiceLinks : false
3336 volumes :
@@ -37,30 +40,30 @@ spec:
3740 containers :
3841 - name : geth-network
3942 image : " {{ .Values.geth.image.image }}:{{ .Values.geth.image.version }}"
40- command : [ "sh", "./root /init.sh" ]
43+ command : [ "sh", "./chain /init.sh" ]
4144 volumeMounts :
4245 - name : geth
43- mountPath : /root /.ethereum/devchain/
46+ mountPath : /chain /.ethereum/devchain/
4447 - name : configmap-volume
45- mountPath : /root /init.sh
48+ mountPath : /chain /init.sh
4649 subPath : init.sh
4750 - name : configmap-volume
48- mountPath : /root /config
51+ mountPath : /chain /config
4952 - name : configmap-volume
50- mountPath : /root /.ethereum/devchain/keystore/key1
53+ mountPath : /chain /.ethereum/devchain/keystore/key1
5154 subPath : key1
5255 - name : configmap-volume
53- mountPath : /root /.ethereum/devchain/keystore/key2
56+ mountPath : /chain /.ethereum/devchain/keystore/key2
5457 subPath : key2
5558 - name : configmap-volume
56- mountPath : /root /.ethereum/devchain/keystore/key3
59+ mountPath : /chain /.ethereum/devchain/keystore/key3
5760 subPath : key3
5861 args :
5962 - ' --dev'
6063 - ' --password'
61- - ' /root /config/password.txt'
64+ - ' /chain /config/password.txt'
6265 - ' --datadir'
63- - ' /root /.ethereum/devchain'
66+ - ' /chain /.ethereum/devchain'
6467 - ' --unlock'
6568 - ' 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266'
6669 - ' --mine'
@@ -121,4 +124,4 @@ spec:
121124{{- with .Values.tolerations }}
122125 tolerations :
123126{{ toYaml . | indent 8 }}
124- {{- end }}
127+ {{- end }}
0 commit comments