I would like to define multiple path for dynamic resources, like this:
node:
id: id_1
cluster: test
dynamic_resources:
cds_config:
- path: /root/envoy/dynamic_fs/cds_ssh.yaml
- path: /root/envoy/dynamic_fs/cds_https.yaml
- path: /root/envoy/dynamic_fs/cds_db.yaml
lds_config:
- path: /root/envoy/dynamic_fs/lds_ssh.yaml
- path: /root/envoy/dynamic_fs/lds_https.yaml
- path: /root/envoy/dynamic_fs/lds_db.yaml
I read the official envoy documentation, didn't find a solution. It is possible to achieve something like this? If config is big, with two yaml it's hard to read.
Thanks in advance!
No, you cannot. You can read in the docs that CDS, LDS, and ADS only accept a single source of config.