supabase-kubernetes icon indicating copy to clipboard operation
supabase-kubernetes copied to clipboard

kong nil pointer evaluating interface

Open jorpilo opened this issue 3 years ago • 3 comments

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 avatar May 02 '22 13:05 jorpilo

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

Fixed in #11

jorpilo avatar May 02 '22 14:05 jorpilo

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

joepa37 avatar Jul 30 '22 23:07 joepa37

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

ACK-lcn avatar Jan 05 '23 03:01 ACK-lcn