Skip to content

Commit

Permalink
add by default public
Browse files Browse the repository at this point in the history
  • Loading branch information
romg67 committed Sep 8, 2024
1 parent f8a5cbe commit e76ee2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/postgres/postgres_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func (r *ReconcilePostgres) Reconcile(request reconcile.Request) (_ reconcile.Re
readerPrivs = "SELECT"
writerPrivs = "SELECT,INSERT,DELETE,UPDATE"
)
for _, schema := range instance.Spec.Schemas {
for _, schema := range append(instance.Spec.Schemas, "public") {
// Schema was previously created
if utils.ListContains(instance.Status.Schemas, schema) {
continue
Expand Down

0 comments on commit e76ee2c

Please sign in to comment.