Skip to content

Commit

Permalink
add web3signer endpoint value, change how endpoint is created based o…
Browse files Browse the repository at this point in the history
…n label and project
  • Loading branch information
matilote committed Aug 9, 2023
1 parent 140a503 commit 46a5d17
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charts/validators/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@ Validator graffiti
Validator web3signer endpoint
*/}}
{{- define "web3signer" -}}
{{- if $.Values.global.label }}http://web3signer-{{ $.Values.global.label }}-{{ $.Values.global.project }}:6174{{- end }}
{{- if $.Values.web3signerEndpoint }}
http://{{ $.Values.web3signerEndpoint }}:6174
{{- else }}
http://{{ $.Values.global.project }}-{{ $.Values.global.label }}-web3signer:6174
{{- end }}
{{- end }}

{{- define "flatten_list" -}}
Expand Down
3 changes: 3 additions & 0 deletions charts/validators/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ validatorsNoOfKeys: 100
## Whether a builder should be used for proposalConfig
enableBuilder: true

# If not provided will be crafted based on global.project and global.label
web3signerEndpoint: ""

## Validators image version
## ref: https://gcr.io/prysmaticlabs/prysm/validator
## ref: https://hub.docker.com/r/sigp/lighthouse
Expand Down

0 comments on commit 46a5d17

Please sign in to comment.