Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

Commit

Permalink
fix: use zarf vendored kubectl during supabase deployment (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
YrrepNoj authored May 15, 2024
1 parent 47249c4 commit c236d39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/supabase/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ components:
onDeploy:
before:
# Deletes the initial kong config created by the upstream chart
- cmd: kubectl delete cm supabase-kong-declarative-config -n leapfrogai
- cmd: ./zarf tools kubectl delete cm supabase-kong-declarative-config -n leapfrogai
after:
# Restarts supabase-kong after the new kong config has been applied
# so that it can be loaded into the kong container
- cmd: kubectl rollout restart deployment supabase-kong -n leapfrogai
- cmd: kubectl rollout status deployment supabase-kong -n leapfrogai
- cmd: ./zarf tools kubectl rollout restart deployment supabase-kong -n leapfrogai
- cmd: ./zarf tools kubectl rollout status deployment supabase-kong -n leapfrogai
manifests:
# Applies an update kong config that includes basic auth, this gets applied
# after the kong pods have started so the original config needs to be deleted and pod restarted
Expand Down

0 comments on commit c236d39

Please sign in to comment.