Skip to content

Commit

Permalink
fix: remove indexer config vars for cdnsd (#98)
Browse files Browse the repository at this point in the history
These vars cannot be completely disabled, and we already have support
for specifying arbitrary env vars to cdnsd.
  • Loading branch information
agaffney authored Jul 17, 2024
1 parent 58e933c commit 3f09867
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
10 changes: 1 addition & 9 deletions roles/cdnsd/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cdnsd_install_method: 'docker'

# cDNSd version
cdnsd_version: '0.13.0'
cdnsd_version: '0.14.0'

# Base host directory for node data
cardano_node_dir: /opt/cardano
Expand Down Expand Up @@ -32,11 +32,3 @@ cdnsd_port: 20053

# Extra env vars for cdnsd
cdnsd_extra_env: {}

# Cardano network
cdnsd_network: preprod

# Configuration variables
cdnsd_indexer_script_address: "addr_test1vr75xezmpxastymx985l3gamuxrwqdwcfrcnjlygs55aynsqu3edq"
cdnsd_indexer_intercept_slot: "50844079"
cdnsd_indexer_intercept_hash: "81325118471fddb00a20327572b371aee7cce13b846a18500d011b9cefd2a34c"
4 changes: 0 additions & 4 deletions roles/cdnsd/tasks/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
cdnsd_base_env:
DNS_LISTEN_PORT: '{{ cdnsd_container_port | string }}'
STATE_DIR: '{{ cdnsd_db_container_dir }}'
INDEXER_SCRIPT_ADDRESS: '{{ cdnsd_indexer_script_address }}'
INDEXER_INTERCEPT_SLOT: '{{ cdnsd_indexer_intercept_slot | string }}'
INDEXER_INTERCEPT_HASH: '{{ cdnsd_indexer_intercept_hash }}'
INDEXER_NETWORK: '{{ cdnsd_network }}'
cdnsd_full_env: '{{ cdnsd_base_env | combine(cdnsd_extra_env) }}'
docker_container:
name: '{{ cdnsd_docker_container_name }}'
Expand Down

0 comments on commit 3f09867

Please sign in to comment.