Set direct functions env vars when asyc is disabled
fix
@@ -66,15 +66,15 @@ spec:
value: "{{ .Values.gateway.upstreamTimeout }}"
- name: functions_provider_url
value: "http://127.0.0.1:8081/"
+ - name: direct_functions
+ value: "true"
+ - name: direct_functions_suffix
+ value: "{{ $functionNs }}.svc.{{ .Values.kubernetesDNSDomain }}"
{{- if .Values.async }}
- name: faas_nats_address
value: "nats.{{ .Release.Namespace }}.svc.{{ .Values.kubernetesDNSDomain }}"
- name: faas_nats_port
value: "4222"
- - name: direct_functions
- value: "true"
- - name: direct_functions_suffix
- value: "{{ $functionNs }}.svc.{{ .Values.kubernetesDNSDomain }}"
{{- end }}
{{- if .Values.basic_auth }}
- name: basic_auth
