Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update how kong.yml is used to configure Supabase in dev vs. prod #3384

Merged
merged 2 commits into from
Apr 2, 2022

Conversation

humphd
Copy link
Contributor

@humphd humphd commented Apr 2, 2022

Yesterday @DukeManh, @Kevan-Y and I tried to insert all the feeds into Supabase on staging. We found that our service_role_key wouldn't work, and even our anon_key won't pass verification. The issue is that we are hard-coding the keys into our kong.yml config: https://github.com/Seneca-CDOT/telescope/blob/master/docker/supabase/volumes/api/kong.yml#L6-L12

These need to match the keys we use on staging and production.

I've created new kong.yml files for staging and production, and sent to @manekenpix to add to the servers. Once those are in place, we can do this change.

@manekenpix, please confirm that the paths I have used for production match what you do with these files (I think I'm right, but it's untested).

Fixes #3381.

@gitpod-io
Copy link

gitpod-io bot commented Apr 2, 2022

@humphd
Copy link
Contributor Author

humphd commented Apr 2, 2022

Fixed, thanks for catching.

Co-authored-by: Josue <manekenpix@fastmail.com>
Copy link
Member

@manekenpix manekenpix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@DukeManh DukeManh merged commit 6ae5495 into Seneca-CDOT:master Apr 2, 2022
@DukeManh
Copy link
Contributor

DukeManh commented Apr 2, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix anon and service roles keys in kong.yml
4 participants