mirror of
https://github.com/hanzo-labs/ethereum-cluster.git
synced 2026-11-02 18:16:01 +00:00
17 lines
535 B
YAML
17 lines
535 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "ethereum.fullname" . }}-geth-account
|
|
labels:
|
|
app: {{ template "ethereum.name" . }}
|
|
chart: {{ template "ethereum.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
type: Opaque
|
|
data:
|
|
{{- if .Values.geth.account.privateKey }}
|
|
accountPrivateKey: {{ .Values.geth.account.privateKey | b64enc | quote }}
|
|
{{- end }}
|
|
{{- if .Values.geth.account.secret }}
|
|
accountSecret: {{ .Values.geth.account.secret | b64enc | quote }}
|
|
{{- end }} |