onedata-values.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. ncConfig:
  2. adminUser: admin
  3. adminPassword: password
  4. host: "127.0.0.1"
  5. dataDir: /var/www/html/data
  6. commands: []
  7. maxUploadLimit: 3
  8. phpMemoryLimit: 512
  9. ncNetwork:
  10. webPort: 30001
  11. nginx:
  12. proxyTimeouts: 120
  13. useDifferentAccessPort: false
  14. externalAccessPort: 443
  15. ncStorage:
  16. isDataInTheSameVolume: true
  17. html:
  18. type: hostPath
  19. hostPathConfig:
  20. hostPath: /mnt/{{ .Release.Name }}/test
  21. data:
  22. type: hostPath
  23. hostPathConfig:
  24. hostPath: /mnt/{{ .Release.Name }}/test
  25. pgData:
  26. type: pvc
  27. pgBackup:
  28. type: emptyDir
  29. emptyDirConfig:
  30. medium: ""
  31. size: ""
  32. additionalStorages: []
  33. ##### CI Hack #####
  34. # What this hack does is that it will create a pod before the chart install
  35. # A hostPath is attached to the pod, which will force k8s to create the directory on the host.
  36. # so the actual test run will find the directory created there. (Storage attached to the actual NC chart
  37. # uses `subPath` for which k8s will not created the directory on the host.)
  38. workload:
  39. ci-hack:
  40. enabled: true
  41. type: Job
  42. annotations:
  43. "helm.sh/hook": pre-install
  44. "helm.sh/hook-weight": "1"
  45. "helm.sh/hook-delete-policy": hook-succeeded
  46. podSpec:
  47. restartPolicy: Never
  48. containers:
  49. ci-hack:
  50. enabled: true
  51. primary: true
  52. image: bashImage
  53. command: bash
  54. args:
  55. - -c
  56. - exit 0
  57. probes:
  58. liveness:
  59. enabled: false
  60. readiness:
  61. enabled: false
  62. startup:
  63. enabled: false
  64. persistence:
  65. ci-hack:
  66. enabled: true
  67. type: hostPath
  68. hostPath: /mnt/{{ .Release.Name }}/test/data
  69. hostPathType: DirectoryOrCreate
  70. targetSelector:
  71. ci-hack:
  72. ci-hack:
  73. mountPath: /ci