Skip to content

Commit

Permalink
feat: set DENYLIST_URL env var for bitswap-peer (#99)
Browse files Browse the repository at this point in the history
Ensure DENYLIST_URL is set in env when deploying bitswap-peer

see: elastic-ipfs/bitswap-peer#215

License: MIT

---------

Signed-off-by: Oli Evans <oli@protocol.ai>
  • Loading branch information
olizilla authored Jul 5, 2023
1 parent 85d8884 commit a88d549
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ spec:
{{ end -}}
- name: P2P_CONNECTION_MAX_CONNECTIONS
value: {{ .Values.env.p2pConnectionMaxConnections | squote }}
- name: DENYLIST_URL
value: {{ .Values.env.denylistUrl | squote }}
resources:
limits:
cpu: {{ .Values.resources.limits.cpu }}
Expand Down
1 change: 1 addition & 0 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ env:
dynamodbLinkTableV1: dev-ep-v1-blocks-cars-position
dynamodbConfigTable: dev-ep-bitswap-config
logRequests: true
denylistUrl: https://denylist-staging.dag.haus
serviceAccountName: dev-ep-bitswap-irsa
resources:
limits:
Expand Down
3 changes: 2 additions & 1 deletion helm/values-staging.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace: staging-ep-bitswap-peer
image:
version: '20230602.1121'
version: '20230705.1511'
annotations:
prometheus.io/path: metrics
prometheus.io/port: '3001'
Expand All @@ -18,4 +18,5 @@ env:
dynamodbCarsTableV1: staging-ep-v1-cars
dynamodbLinkTableV1: staging-ep-v1-blocks-cars-position
dynamodbConfigTable: staging-ep-bitswap-config
denylistUrl: https://denylist-staging.dag.haus
serviceAccountName: staging-ep-bitswap-irsa
1 change: 1 addition & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@ env:
dynamodbLinkTableV1: prod-ep-v1-blocks-cars-position
dynamodbConfigTable: prod-ep-bitswap-config
p2pConnectionMaxConnections: 5000
denylistUrl: https://denylist-staging.dag.haus
workerType: workerNode
serviceAccountName: bitswap-irsa

0 comments on commit a88d549

Please sign in to comment.