We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ea7d5 commit 3c95256Copy full SHA for 3c95256
pkg/cluster/k8sres.go
@@ -886,6 +886,10 @@ func (c *Cluster) generatePodTemplate(
886
addEmptyDirVolume(&podSpec, "postgres-tmp", "postgres", "/tmp")
887
}
888
889
+ if c.OpConfig.ReadOnlyRootFilesystem != nil && *c.OpConfig.ReadOnlyRootFilesystem && isRepoHost == true {
890
+ addEmptyDirVolume(&podSpec, "pgbackrest-tmp", "pgbackrest", "/tmp")
891
+ }
892
+
893
if sharePgSocketWithSidecars != nil && *sharePgSocketWithSidecars {
894
addVarRunVolume(&podSpec)
895
0 commit comments