DataVolumeMount returns the name and mount path of the PostgreSQL data volume.
()
| 18 | |
| 19 | // DataVolumeMount returns the name and mount path of the PostgreSQL data volume. |
| 20 | func DataVolumeMount() corev1.VolumeMount { |
| 21 | return corev1.VolumeMount{Name: "postgres-data", MountPath: dataMountPath} |
| 22 | } |
| 23 | |
| 24 | // TablespaceVolumeMount returns the name and mount path of the PostgreSQL tablespace data volume. |
| 25 | func TablespaceVolumeMount(tablespaceName string) corev1.VolumeMount { |
no outgoing calls