Open guivin opened 3 days ago
The url used in the Kong configuration for functions-v1-all is hardcoded in charts/supabase/templates/kong/config.yaml :
functions-v1-all
url: http://functions:{{ .Values.functions.service.port }}/
Should be :
url: http://{{ include "supabase.functions.fullname" . }}:{{ .Values.functions.service.port }}/
functions
curl -X POST http://$IP:$PORT/functions/v1/ping
Set functions.fullnameOverride to functions in the values.yaml fixes temporary the issue.
functions.fullnameOverride
values.yaml
The internal DNS name of the functions should be dynamic to support prefixed resources by Helm
This seems to be a duplicate of #61
Bug report
Describe the bug
The url used in the Kong configuration for
functions-v1-all
is hardcoded in charts/supabase/templates/kong/config.yaml :Should be :
To Reproduce
functions
for the edge-function.curl -X POST http://$IP:$PORT/functions/v1/ping
Set
functions.fullnameOverride
tofunctions
in thevalues.yaml
fixes temporary the issue.Expected behavior
The internal DNS name of the functions should be dynamic to support prefixed resources by Helm