diff --git a/charts/supabase/Chart.yaml b/charts/supabase/Chart.yaml index b0bae58..92a3b4d 100644 --- a/charts/supabase/Chart.yaml +++ b/charts/supabase/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.2 +version: 0.1.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/supabase/templates/functions/functions.config.yaml b/charts/supabase/templates/functions/functions.config.yaml index 8aed927..34f58e0 100644 --- a/charts/supabase/templates/functions/functions.config.yaml +++ b/charts/supabase/templates/functions/functions.config.yaml @@ -14,6 +14,7 @@ data: const JWT_SECRET = Deno.env.get('JWT_SECRET') const VERIFY_JWT = Deno.env.get('VERIFY_JWT') === 'true' + const importMapPath = Deno.env.get('IMPORT_MAP_PATH') function getAuthToken(req: Request) { const authHeader = req.headers.get('authorization') @@ -79,7 +80,6 @@ data: const memoryLimitMb = 150 const workerTimeoutMs = 1 * 60 * 1000 const noModuleCache = false - const importMapPath = null const envVarsObj = Deno.env.toObject() const envVars = Object.keys(envVarsObj).map((k) => [k, envVarsObj[k]]) diff --git a/charts/supabase/values.yaml b/charts/supabase/values.yaml index 62dbe13..7680e81 100644 --- a/charts/supabase/values.yaml +++ b/charts/supabase/values.yaml @@ -1039,6 +1039,7 @@ functions: DB_PORT: 5432 DB_DRIVER: postgresql DB_SSL: disable # disable, allow, prefer, require, verify-ca, verify-full + # IMPORT_MAP_PATH: home/deno/functions/import-map.json # Mount user functions # volumeMounts: # - name: my_functions