ConfigVolumeMount returns the name and mount path of PostgreSQL config files.
()
| 47 | |
| 48 | // ConfigVolumeMount returns the name and mount path of PostgreSQL config files. |
| 49 | func ConfigVolumeMount() corev1.VolumeMount { |
| 50 | return corev1.VolumeMount{ |
| 51 | Name: "postgres-config", |
| 52 | MountPath: configMountPath, |
| 53 | ReadOnly: true, |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | // InstancePod initializes outInstancePod with the database container and the |
| 58 | // volumes needed by PostgreSQL. |
no outgoing calls
no test coverage detected