supabase-community / supabase-kubernetes

Helm 3 charts to deploy a Supabase on Kubernetes
Apache License 2.0
406 stars 116 forks source link

kong nil pointer evaluating interface #10

Open jorpilo opened 2 years ago

jorpilo commented 2 years ago

Hello.

I have tried to deploy following these steps:

copy values.template.yaml and modify:
your-super-secret-jwt-token-with-at-least-32-characters-long
JWT_ANON_KEY
JWT_SERVICE_KEY
MY_VERY_HARD_PASSWORD_FOR_DATABASE
RELEASE_NAME
NAMESPACE

# Added helm  repo
helm repo add supabase https://raw.githubusercontent.com/supabase-community/supabase-kubernetes/main

# helm install
helm install dev supabase/supabase --namespace MYNAMESPACE -f myvalues.yaml --create-namespace

helm fails with the following error

Error: INSTALLATION FAILED: template: supabase/templates/kong/config.yaml:19:27: executing "supabase/templates/kong/config.yaml" at <.Values.kong.credentials.anonKey>: nil pointer evaluating interface {}.anonKey

Any help to deploy it?

jorpilo commented 2 years ago

The problem is that the variables are missing in values.ylm

Fixed in #11

joepa37 commented 2 years ago

Same issue, waiting for this pull request to be merged.

ACK-lcn commented 1 year ago

When will the new version of the helm3 chart package be released? I see that the previous charts package has bugs