MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / ShouldCreateProjectedVolume

Method ShouldCreateProjectedVolume

api/v1/cluster_funcs.go:1021–1023  ·  view source on GitHub ↗

ShouldCreateProjectedVolume returns whether we should create the projected all in one volume

()

Source from the content-addressed store, hash-verified

1019
1020// ShouldCreateProjectedVolume returns whether we should create the projected all in one volume
1021func (cluster *Cluster) ShouldCreateProjectedVolume() bool {
1022 return cluster.Spec.ProjectedVolumeTemplate != nil
1023}
1024
1025// ShouldCreateWalArchiveVolume returns whether we should create the wal archive volume
1026func (cluster *Cluster) ShouldCreateWalArchiveVolume() bool {

Callers 2

createPostgresVolumesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected