I flowed this doc to implement flexible configuration :
https://www.krakend.io/docs/configuration/flexible-config/#:~:text=The%20Flexible%20Configuration%20component%20is,compiles%20during%20start%2Dup%20time.But I have this issus :
ERROR parsing the configuration file: '/etc/kt/config/krakend.json': invalid character '{' looking for beginning of object key string, offset: 34, row: 2, col: 14And this is krakend.json
{ "version": 3, "port": {{ .service.port }}, "extra_config": {{ marshal .service.extra_config }}, "host": {{ marshal .service.default_hosts }}, "endpoints": [ {{ range $idx, $endpoint := .endpoint.example_group }} {{if $idx}},{{end}} { "endpoint": "{{ $endpoint.endpoint }}", "backend": [ { "url_pattern": "{{ $endpoint.backend }}", "extra_config": { {{ include "rate_limit_backend.tmpl" }} } } ]} {{ end }} ] }I read about this prob ... UTF-8 without bom but same prob ...
any solution please .
--
You received this message because you are subscribed to the Google Groups "KrakenD Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to community+...@krakend.io.
To view this discussion on the web visit https://groups.google.com/a/krakend.io/d/msgid/community/bd7d3dc2-f756-406a-a0dd-d849d73937b1n%40krakend.io.