File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -1465,17 +1465,7 @@ func (c *Cluster) generateStatefulSet(spec *cpov1.PostgresSpec) (*appsv1.Statefu
14651465 }
14661466 additionalVolumes = append (additionalVolumes , tlsVolumes ... )
14671467 }
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- // }
1468+
14791469 repo_host_mode := false
14801470 // Add this envVar so that it is not added to the pgbackrest initcontainer
14811471 if specHasPgbackrestPVCRepo (spec ) {
You can’t perform that action at this time.
0 commit comments