pv-postgres.yaml 326 B

12345678910111213141516
  1. {{- if and .Values.hue.database.persist .Values.hue.database.create -}}
  2. kind: PersistentVolume
  3. apiVersion: v1
  4. metadata:
  5. name: postgres-pv
  6. labels:
  7. type: local
  8. spec:
  9. capacity:
  10. storage: 2Gi
  11. accessModes:
  12. - ReadWriteOnce
  13. storageClassName: microk8s-hostpath
  14. hostPath:
  15. path: /data/postgres-pv
  16. {{- end -}}