ix_values.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # FIXME: Update tags once a stable version is released
  2. ocrImage:
  3. repository: dadoonet/fscrawler
  4. pullPolicy: IfNotPresent
  5. tag: 2.10-SNAPSHOT-ocr-es7
  6. noocrImage:
  7. repository: dadoonet/fscrawler
  8. pullPolicy: IfNotPresent
  9. tag: 2.10-SNAPSHOT-noocr
  10. resources:
  11. limits:
  12. cpu: 4000m
  13. memory: 8Gi
  14. fscrawlerConfig:
  15. imageSelector: ocrImage
  16. jobName: ''
  17. restart: false
  18. loop: -1
  19. additionalEnvs: []
  20. fscrawlerNetwork:
  21. hostNetwork: false
  22. enableRestApiService: false
  23. restPort: 30084
  24. fscrawlerStorage:
  25. jobs:
  26. type: ixVolume
  27. ixVolumeConfig:
  28. datasetName: jobs
  29. additionalStorages: []
  30. notes:
  31. custom: |
  32. ## FSCrawler
  33. {{- $path := (printf "/root/.fscrawler/%s/_settings.yaml (Inside the container)" .Values.fscrawlerConfig.jobName) -}}
  34. {{- if eq .Values.fscrawlerStorage.jobs.type "hostPath" -}}
  35. {{- $path = (printf "%s/%s/_settings.yaml" .Values.fscrawlerStorage.jobs.hostPath .Values.fscrawlerConfig.jobName) -}}
  36. {{- end }}
  37. You have to manually Edit/Create the job file at the path:
  38. ```shell
  39. {{ $path }}
  40. ```
  41. Until a valid job file is created, the FSCrawler container be in the Deploying state.
  42. A stop and start of the container will be required after the job file is created.
  43. {{- if .Values.fscrawlerNetwork.enableRestApiService }}
  44. Rest API Service is enabled. You have to include the following configuration in your job file:
  45. ```yaml
  46. # Your _settings.yaml file
  47. name: {{ .Values.fscrawlerConfig.jobName | quote }}
  48. rest:
  49. url: http://0.0.0.0:{{ .Values.fscrawlerNetwork.restPort }}/fscrawler
  50. # Optionally
  51. # enable_cors: true/false
  52. # ...other settings of the job file...
  53. ```
  54. {{- end }}