Skip to content

Commit

Permalink
Removed ethstats secret references from celotool
Browse files Browse the repository at this point in the history
  • Loading branch information
jcortejoso committed Nov 14, 2019
1 parent 12b5098 commit 68b948c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/celotool/src/lib/ethstats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export async function upgradeHelmChart(celoEnv: string) {
function helmParameters() {
return [
`--set domain.name=${fetchEnv(envVar.CLUSTER_DOMAIN_NAME)}`,
`--set ethstats.createSecret=${isVmBased()}`,
`--set ethstats.webSocketSecret="${fetchEnv(envVar.ETHSTATS_WEBSOCKETSECRET)}"`,
`--set ethstats.image.repository=${fetchEnv(envVar.ETHSTATS_DOCKER_IMAGE_REPOSITORY)}`,
`--set ethstats.image.tag=${fetchEnv(envVar.ETHSTATS_DOCKER_IMAGE_TAG)}`,
`--set ethstats.trusted_enodes='{${fetchEnv(envVar.ETHSTATS_TRUSTED_ENODES)}}'`,
Expand Down
1 change: 0 additions & 1 deletion packages/celotool/src/lib/helm_deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,6 @@ async function helmParameters(celoEnv: string) {
`--set mnemonic="${fetchEnv('MNEMONIC')}"`,
`--set contracts.cron_jobs.enabled=${fetchEnv('CONTRACT_CRONJOBS_ENABLED')}`,
`--set geth.account.secret="${fetchEnv('GETH_ACCOUNT_SECRET')}"`,
`--set ethstats.webSocketSecret="${fetchEnv('ETHSTATS_WEBSOCKETSECRET')}"`,
`--set geth.ping_ip_from_packet=${fetchEnvOrFallback('PING_IP_FROM_PACKET', 'false')}`,
`--set geth.in_memory_discovery_table=${fetchEnvOrFallback(
'IN_MEMORY_DISCOVERY_TABLE',
Expand Down
1 change: 0 additions & 1 deletion packages/celotool/src/lib/vm-testnet-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ function generateValidatorSecretEnvVars(accountType: AccountType, index: number)
),
PRIVATE_KEY: privateKey,
[envVar.GETH_ACCOUNT_SECRET]: fetchEnv(envVar.GETH_ACCOUNT_SECRET),
[envVar.ETHSTATS_WEBSOCKETSECRET]: fetchEnv(envVar.ETHSTATS_WEBSOCKETSECRET),
[envVar.MNEMONIC]: mnemonic,
}
return formatEnvVars(secrets)
Expand Down

0 comments on commit 68b948c

Please sign in to comment.