diff --git a/baker-endpoint/src/app.ts b/baker-endpoint/src/app.ts index 7de77fd..60caf77 100755 --- a/baker-endpoint/src/app.ts +++ b/baker-endpoint/src/app.ts @@ -39,8 +39,8 @@ async function main() { describe: "Baker listener port", type: "number", demandOption: true, - }).option('baker_pubkey', { - describe: "Baker public key", + }).option('baker_pkh', { + describe: "Baker public key hash starting with tz", type: "string", demandOption: true, }) @@ -48,7 +48,7 @@ async function main() { .strictCommands() .demandCommand(1, 'You need to pass the run command, as in "flashbake-baker-endpoint run"').argv; - startBakerEndpoint(argv.relay_listener_port, argv.baker_listener_port, argv.tezos_rpc_url, argv.baker_pubkey); + startBakerEndpoint(argv.relay_listener_port, argv.baker_listener_port, argv.tezos_rpc_url, argv.baker_pkh); } main(); diff --git a/helm/baker-endpoint/templates/deployment.yaml b/helm/baker-endpoint/templates/deployment.yaml index c383bf2..28e2ac3 100644 --- a/helm/baker-endpoint/templates/deployment.yaml +++ b/helm/baker-endpoint/templates/deployment.yaml @@ -50,8 +50,8 @@ spec: - {{ .Values.tezos_rpc_url }} - --baker_listener_port - "{{ .Values.baker_listener_port }}" - - --baker_pubkey - - "{{ .Values.baker_pubkey }}" + - --baker_pkh + - "{{ .Values.baker_pkh }}" {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/helm/baker-endpoint/values.yaml b/helm/baker-endpoint/values.yaml index 21fee32..753a500 100644 --- a/helm/baker-endpoint/values.yaml +++ b/helm/baker-endpoint/values.yaml @@ -12,7 +12,7 @@ baker_listener_hostname: baker-listener.example.com baker_listener_port: 12732 # the baker public key -baker_pubkey: tz1xx +baker_pkh: tz1xx replicaCount: 1