TablespaceVolumeMount returns the name and mount path of the PostgreSQL tablespace data volume.
(tablespaceName string)
| 23 | |
| 24 | // TablespaceVolumeMount returns the name and mount path of the PostgreSQL tablespace data volume. |
| 25 | func TablespaceVolumeMount(tablespaceName string) corev1.VolumeMount { |
| 26 | return corev1.VolumeMount{Name: "tablespace-" + tablespaceName, MountPath: tablespaceMountPath + "/" + tablespaceName} |
| 27 | } |
| 28 | |
| 29 | // TempVolumeMount returns the name and mount path of the ephemeral volume. |
| 30 | func TempVolumeMount() corev1.VolumeMount { |
no outgoing calls