{% macro config(values) -%} {# A default config file that users will need to edit #} # It will be updated automatically on every start based on the configuration name: {{ values.fscrawler.job_name }} elasticsearch: username: elastic password: <password> nodes: - url: http://<node_ip>:<port> {%- if values.network.rest_port.bind_mode != '' %} rest: url: http://0.0.0.0:{{ values.network.rest_port.port_number }}/fscrawler # Optionally # enable_cors: true/false {%- endif %} {%- endmacro %}