MCPcopy Create free account
hub / github.com/CrunchyData/postgres-operator / ConfigVolumeMount

Function ConfigVolumeMount

internal/postgres/reconcile.go:49–55  ·  view source on GitHub ↗

ConfigVolumeMount returns the name and mount path of PostgreSQL config files.

()

Source from the content-addressed store, hash-verified

47
48// ConfigVolumeMount returns the name and mount path of PostgreSQL config files.
49func 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.

Callers 2

AddConfigToRestorePodFunction · 0.92
InstancePodFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected