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 43578f3 commit 48ea7d5Copy full SHA for 48ea7d5
pkg/cluster/k8sres.go
@@ -1024,6 +1024,10 @@ func (c *Cluster) generateSpiloPodEnvVars(
1024
envVars = append(envVars, v1.EnvVar{Name: "USE_PGBACKREST", Value: "true"})
1025
}
1026
1027
+ if c.OpConfig.ReadOnlyRootFilesystem != nil && *c.OpConfig.ReadOnlyRootFilesystem {
1028
+ envVars = append(envVars, v1.EnvVar{Name: "HOME", Value: "/home/postgres"})
1029
+ }
1030
+
1031
if spec.TDE != nil && spec.TDE.Enable {
1032
envVars = append(envVars, v1.EnvVar{Name: "TDE", Value: "true"})
1033
// envVars = append(envVars, v1.EnvVar{Name: "PGENCRKEYCMD", Value: "/tmp/tde.sh"})
0 commit comments