File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed
resources/charts/bitcoincore/charts/lnd/templates Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -21,21 +21,23 @@ spec:
2121 {{- end }}
2222 securityContext :
2323 {{- toYaml .Values.podSecurityContext | nindent 4 }}
24+ {{- with .Values.extraContainers }}
2425 initContainers :
25- - name : prepare-files
26- image : busybox
27- command :
28- - sh
29- - -c
30- - |
31- cp /root/.lnd/tls.cert /root/.lnd/tls_copy.cert
32- chmod 644 /root/.lnd/tls_copy.cert
33- volumeMounts :
34- - name : lnd-data
35- mountPath : /root/.lnd
36- - name : config
37- mountPath : /root/.lnd/tls.cert
38- subPath : tls.cert
26+ - name : prepare-files
27+ image : busybox
28+ command :
29+ - sh
30+ - -c
31+ - |
32+ cp /root/.lnd/tls.cert /root/.lnd/tls_copy.cert
33+ chmod 644 /root/.lnd/tls_copy.cert
34+ volumeMounts :
35+ - name : lnd-data
36+ mountPath : /root/.lnd
37+ - name : config
38+ mountPath : /root/.lnd/tls.cert
39+ subPath : tls.cert
40+ {{- end }}
3941 containers :
4042 - name : {{ .Chart.Name }}
4143 securityContext :
You can’t perform that action at this time.
0 commit comments