We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7fee6f commit 04f8519Copy full SHA for 04f8519
1 file changed
pkg/cluster/k8sres.go
@@ -1465,17 +1465,7 @@ func (c *Cluster) generateStatefulSet(spec *cpov1.PostgresSpec) (*appsv1.Statefu
1465
}
1466
additionalVolumes = append(additionalVolumes, tlsVolumes...)
1467
1468
- // if monitoring is enabled, add a empty volume
1469
- // if c.Postgresql.Spec.Monitoring != nil {
1470
- // additionalVolumes = append(additionalVolumes, cpov1.AdditionalVolume{
1471
- // Name: "exporter-tmp",
1472
- // MountPath: "/tmp",
1473
- // VolumeSource: v1.VolumeSource{
1474
- // EmptyDir: &v1.EmptyDirVolumeSource{},
1475
- // },
1476
- // TargetContainers: []string{"postgres-exporter"},
1477
- // })
1478
- // }
+
1479
repo_host_mode := false
1480
// Add this envVar so that it is not added to the pgbackrest initcontainer
1481
if specHasPgbackrestPVCRepo(spec) {
0 commit comments