Skip to content

Commit e6eb10d

Browse files
authored
fix TestTLS (zalando#894)
1 parent 6ed1030 commit e6eb10d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/cluster/k8sres_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,7 @@ func TestTLS(t *testing.T) {
958958
var err error
959959
var spec acidv1.PostgresSpec
960960
var cluster *Cluster
961+
var spiloFSGroup = int64(103)
961962

962963
makeSpec := func(tls acidv1.TLSDescription) acidv1.PostgresSpec {
963964
return acidv1.PostgresSpec{
@@ -982,6 +983,9 @@ func TestTLS(t *testing.T) {
982983
SuperUsername: superUserName,
983984
ReplicationUsername: replicationUserName,
984985
},
986+
Resources: config.Resources{
987+
SpiloFSGroup: &spiloFSGroup,
988+
},
985989
},
986990
}, k8sutil.KubernetesClient{}, acidv1.Postgresql{}, logger)
987991
spec = makeSpec(acidv1.TLSDescription{SecretName: "my-secret", CAFile: "ca.crt"})

0 commit comments

Comments
 (0)