Skip to content

Commit 8a26498

Browse files
authored
Remove clone block (#389)
1 parent 2d60725 commit 8a26498

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/v1/postgres_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,9 @@ func (p *Postgres) ToUnstructuredZalandoPostgresql(z *zalando.Postgresql, c *cor
577577
S3SecretAccessKey: rbs.S3SecretKey,
578578
S3ForcePathStyle: pointer.Bool(true),
579579
}
580+
} else {
581+
// if we don't set the clone block, remove it completely
582+
z.Spec.Clone = nil
580583
}
581584

582585
// Enable replication (using unstructured json)

0 commit comments

Comments
 (0)