_configuration.tpl 717 B

123456789101112131415161718192021
  1. {{- define "fscrawler.configuration" -}}
  2. configmap:
  3. example-config:
  4. enabled: true
  5. data:
  6. # A default config file that users will need to edit
  7. _settings.example.yaml: |
  8. # It will be updated automatically on every start based on the configuration
  9. name: {{ .Values.fscrawlerConfig.jobName }}
  10. elasticsearch:
  11. username: elastic
  12. password: <password>
  13. nodes:
  14. - url: http://<node_ip>:<port>
  15. {{- if .Values.fscrawlerNetwork.enableRestApiService }}
  16. rest:
  17. url: http://0.0.0.0:{{ .Values.fscrawlerNetwork.restPort }}/fscrawler
  18. # Optionally
  19. # enable_cors: true/false
  20. {{- end -}}
  21. {{- end -}}