File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ func generateSpiloJSONConfiguration(pg *cpov1.PostgresqlParam, patroni *cpov1.Pa
348348 }
349349
350350 if enableTDE {
351- config .Bootstrap .Initdb = append (config .Bootstrap .Initdb , map [string ]string {"encryption-key-command" : "/scripts/pgee /tde.sh" })
351+ config .Bootstrap .Initdb = append (config .Bootstrap .Initdb , map [string ]string {"encryption-key-command" : "/tmp /tde.sh" })
352352 }
353353
354354 initdbOptionNames := []string {}
@@ -1000,7 +1000,7 @@ func (c *Cluster) generateSpiloPodEnvVars(
10001000
10011001 if spec .TDE != nil && spec .TDE .Enable {
10021002 envVars = append (envVars , v1.EnvVar {Name : "TDE" , Value : "true" })
1003- envVars = append (envVars , v1.EnvVar {Name : "PGENCRKEYCMD" , Value : "/scripts/pgee /tde.sh" })
1003+ // envVars = append(envVars, v1.EnvVar{Name: "PGENCRKEYCMD", Value: "/tmp /tde.sh"})
10041004 envVars = append (envVars , v1.EnvVar {Name : "TDE_KEY" , ValueFrom : & v1.EnvVarSource {
10051005 SecretKeyRef : & v1.SecretKeySelector {
10061006 LocalObjectReference : v1.LocalObjectReference {
You can’t perform that action at this time.
0 commit comments