This repository was archived by the owner on Mar 3, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +32
-3
lines changed
Expand file tree Collapse file tree 5 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 11apiVersion : v2
22name : v3-operator
3- version : 3.4 .0
4- appVersion : v3.0.3
3+ version : 3.5 .0
4+ appVersion : v3.1.8
55description : Operator hosted service for Stakewise V3 protocol.
66type : application
77icon : https://storage.googleapis.com/stakewise-charts/stakewise.png
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ Kubernetes secrets are used to store sensitive information related to the v3-ope
2222kubectl create secret generic v3-operator-deposit-data --from-file=/home/username/.stakewise/0xeefffd4c23d2e8c845870e273861e7d60df49663/deposit_data.json
2323kubectl create secret generic v3-operator-keystores-data --from-file=/home/username/.stakewise/0xeefffd4c23d2e8c845870e273861e7d60df49663/keystores
2424kubectl create secret generic v3-operator-wallet-data --from-file=/home/username/.stakewise/0xeefffd4c23d2e8c845870e273861e7d60df49663/wallet
25+
26+ # optional if you are using HashiCorp Vault
27+ kubectl create secret generic v3-operator-hcv-token --from-literal=token=< insert token here>
2528```
2629
2730> Replace ` 0xeefffd4c23d2e8c845870e273861e7d60df49663 ` with the actual vault contract address
Original file line number Diff line number Diff line change @@ -94,12 +94,25 @@ spec:
9494 - --remote-signer-url
9595 - {{ .Values.settings.remoteDbConfig.remoteSignerUrl }}
9696 {{- end }}
97+ {{- if .Values.settings.hcVaultConfig.enabled }}
98+ - --hashi-vault-url
99+ - {{ .Values.settings.hcVaultConfig.hcVaultUrl }}
100+ - --hashi-vault-token
101+ - $(HASHICORP_VAULT_TOKEN)
102+ - --hashi-vault-key-path
103+ - {{ .Values.settings.hcVaultConfig.hcVaultKeyPath }}
104+ {{- end }}
97105 {{- range .Values.settings.extraFlags }}
98106 - {{ . }}
99107 {{- end }}
100108 env :
101109 - name : PYTHONPATH
102110 value : " ."
111+ - name : HASHICORP_VAULT_TOKEN
112+ valueFrom :
113+ secretKeyRef :
114+ name : {{ .Values.settings.hcVaultConfig.hcVaultTokenSecretName }}
115+ key : token
103116 envFrom :
104117 - configMapRef :
105118 name : {{ include "common.names.fullname" . }}
Original file line number Diff line number Diff line change 99{{- if not .Values.settings.vault }}
1010{{- fail ".Values.settings.vault is empty" }}
1111{{- end }}
12+
13+ {{- if .Values.settings.hcVaultConfig.enabled -}}
14+ {{- if not .Values.settings.hcVaultConfig.hcVaultTokenSecretName }}
15+ {{- fail ".Values.settings.hcVaultConfig.hcVaultTokenSecretName is empty" }}
16+ {{- end }}
17+ {{- end }}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ serviceAccount:
5757image :
5858 registry : " europe-west4-docker.pkg.dev"
5959 repository : " stakewiselabs/public/v3-operator"
60- tag : " v3.0.3 "
60+ tag : " v3.1.8 "
6161 pullPolicy : IfNotPresent
6262 pullSecrets : []
6363
@@ -105,6 +105,13 @@ settings:
105105 dbUrl : " postgresql://postgres:postgres@localhost/operator"
106106 remoteSignerUrl : " http://web3signer:6174"
107107
108+ # Whether to receive keystores from HashiCorp Vault
109+ hcVaultConfig :
110+ enabled : false
111+ hcVaultUrl : " http://vault:8200"
112+ hcVaultTokenSecretName : " "
113+ hcVaultKeyPath : " stakewise"
114+
108115 # If specified, deposit data will be obtained from the secret
109116 depositDataSecretName : " "
110117 # If specified, keystores will be obtained from the secret
You can’t perform that action at this time.
0 commit comments