Skip to content

Commit

Permalink
update deploy vars (#435)
Browse files Browse the repository at this point in the history
* update deploy vars

* add inflix_url

---------

Co-authored-by: gipsh <hernangips@OnoSendai-2.local>
  • Loading branch information
gipsh and gipsh committed Jun 21, 2023
1 parent 669a14c commit 1837a77
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
14 changes: 12 additions & 2 deletions deploy/api/api-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,14 @@ spec:
- name: WORMSCAN_P2PNETWORK
value: {{ .WORMSCAN_P2PNETWORK }}
- name: WORMSCAN_RATELIMIT_ENABLED
value: {{ .WORMSCAN_RATELIMIT_ENABLED }}
value: "{{ .WORMSCAN_RATELIMIT_ENABLED }}"
- name: WORMSCAN_RATELIMIT_MAX
value: "{{ .WORMSCAN_RATELIMIT_MAX }}"
value: "{{ .WORMSCAN_RATELIMIT_MAX }}"
- name: WORMSCAN_RATELIMIT_PREFIX
valueFrom:
configMapKeyRef:
name: config
key: redis-uri
- name: WORMSCAN_DB_URL
valueFrom:
secretKeyRef:
Expand All @@ -80,6 +85,11 @@ spec:
configMapKeyRef:
name: config
key: redis-uri
- name: WORMSCAN_CACHE_PREFIX
valueFrom:
configMapKeyRef:
name: config
key: redis-uri
- name: WORMSCAN_CACHE_ENABLED
value: "true"
- name: WORMSCAN_CACHE_CHANNEL
Expand Down
1 change: 1 addition & 0 deletions deploy/common/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
data:
mongo-database: {{ .MONGODB_DATABASE }}
redis-uri: {{ .REDIS_URI }}
redis-prefix: {{ .REDIS_PREFIX }}
influxdb-url: {{ .INFLUX_URL }}
influxdb-organization: {{ .INFLUX_ORGANIZATION }}
influxdb-bucket-infinite: {{ .INFLUX_BUCKET_INFINITE }}
Expand Down
1 change: 1 addition & 0 deletions deploy/common/env/production.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ NAMESPACE=wormscan
MONGODB_URI=
MONGODB_DATABASE=
REDIS_URI=
REDIS_PREFIX=production-mainnet
INFLUX_URL=
INFLUX_TOKEN=
INFLUX_ORGANIZATION=
Expand Down
1 change: 1 addition & 0 deletions deploy/common/env/staging.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ NAMESPACE=wormscan
MONGODB_URI=
MONGODB_DATABASE=
REDIS_URI=
REDIS_PREFIX=staging-mainnet
INFLUX_URL=
INFLUX_TOKEN=
INFLUX_ORGANIZATION=
Expand Down
1 change: 1 addition & 0 deletions deploy/common/env/test.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ NAMESPACE=wormscan-testnet
MONGODB_URI=
MONGODB_DATABASE=
REDIS_URI=
REDIS_PREFIX=test-mainnet
INFLUX_URL=
INFLUX_TOKEN=
INFLUX_ORGANIZATION=
Expand Down

0 comments on commit 1837a77

Please sign in to comment.