bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.59k stars 8.98k forks source link

[bitnami/supabase] PostgREST schema introspection did not work #18183

Open stevefan1999-personal opened 11 months ago

stevefan1999-personal commented 11 months ago

Name and Version

bitnami/supabase:0.3.14

What architecture are you using?

None

What steps will reproduce the bug?

  1. Deploy
  2. Use GraphQL introspection

Are you using any custom parameters or values?

No response

What is the expected behavior?

It should just works. However until #18182 is solved, this would be useless for a while,

What do you see instead?

Schema reflection is unavailable:

{
    "code": "PGRST106",
    "details": null,
    "hint": null,
    "message": "The schema must be one of the following: public, storage"
}

Additional information

This is because of
https://github.com/bitnami/charts/blob/7910625e34129d7270254310c26a38d3ee245adf/bitnami/supabase/values.yaml#L1259-L1263

Instead, it should be:

PGRST_DB_SCHEMAS: "public,storage,graphql_public"

Reference: https://supabase.com/docs/guides/cli/config#api.schemas

javsalgar commented 11 months ago

Hi!

Thank you for opening the ticket. Marking this one as on-hold waiting for the others to be fixed