defenseunicorns / leapfrogai

Production-ready Generative AI for local, cloud native, airgap, and edge deployments.

Home Page:https://leapfrog.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automate detection of existing Supabase Postgres secret

CollectiveUnicorn opened this issue · comments

commented

Describe what should be investigated or refactored

As a LeapfrogAI dev, I would like an automatic way to determine when the variable EXISTING_POSTGRES_SECRET needs to be set without human intervention on Zarf deployment. Currently the first time Supabase is deployed this variable needs to be set to an empty string and the second time then it needs to be supabase-postgresql-backup to prevent the secret key from being lost.

commented

Blocked by #345

commented

Resolved as a part of #345 by selectively adding helm.sh/resource-policy: keep to the randomly generated resource.