Skip to content

Commit 9a9896c

Browse files
fix: gateway config for agent mTLS
1 parent 785f2ed commit 9a9896c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

config/setup/common/data/agent_relay_gateway_config.dat

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ entry:
1010
router: my_router
1111
max_concurrency: 200000
1212
network:
13-
binding: 0.0.0.0:8081
14-
# tls: #for mTLS connection with config servers
15-
# enabled: true
13+
binding: 0.0.0.0:8765
14+
tls: #for mTLS connection with config servers
15+
enabled: true
1616
# ca_file: /xxx/ca.crt
1717
# cert_file: /xxx/server.crt
1818
# key_file: /xxx/server.key
19-
# skip_insecure_verify: false
19+
skip_insecure_verify: false
2020

2121
flow:
2222
- name: deny_flow
@@ -28,7 +28,7 @@ flow:
2828
filter:
2929
- basic_auth:
3030
valid_users:
31-
ingest: n
31+
$[[SETUP_AGENT_USERNAME]]: $[[SETUP_AGENT_PASSWORD]]
3232
- rewrite_to_bulk:
3333
type_removed: false
3434
- bulk_request_mutate:
@@ -65,8 +65,8 @@ elasticsearch:
6565
- name: prod
6666
enabled: true
6767
basic_auth:
68-
username: ingest
69-
password: password
68+
username: $[[SETUP_AGENT_USERNAME]]
69+
password: $[[SETUP_AGENT_PASSWORD]]
7070
endpoints: $[[SETUP_ENDPOINTS]]
7171

7272
pipeline:

0 commit comments

Comments
 (0)