Skip to content

Commit

Permalink
tests: work around rpk limitations in redpanda config file
Browse files Browse the repository at this point in the history
- rpk only understands the list form of one_or_many options
- rpk hardcodes 127.0.0.1:9644 as the admin endpoint

Related: redpanda-data#2752
Related: redpanda-data#2751

Signed-off-by: John Spray <jcs@vectorized.io>
  • Loading branch information
jcsp committed Oct 25, 2021
1 parent 8acf538 commit 2e3b645
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/rptest/services/templates/redpanda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,20 @@ redpanda:
address: "{{node.account.hostname}}"
port: 33145
kafka_api:
address: "{{node.account.hostname}}"
port: 9092
- address: "{{node.account.hostname}}"
port: 9092
admin:
address: "{{node.account.hostname}}"
port: 9644
- address: 127.0.0.1
port: 9644
- address: "{{node.account.hostname}}"
port: 9644

# for librdkafka
auto_create_topics_enabled: true
default_topic_partitions: 4

superusers: {{superuser[0]}}
superusers:
- {{superuser[0]}}

enable_auto_rebalance_on_node_add: true

Expand Down

0 comments on commit 2e3b645

Please sign in to comment.