add environment faas_function_suffix
faas_function_suffix is needed when functionNamespace is not empty. Otherwise queue-worker could not call function successfully.
@@ -83,5 +83,10 @@ spec:
image: {{ .Values.images.queueWorker }}
{{- end }}
imagePullPolicy: Always
+ {{- if .Values.functionNamespace }}
+ env:
+ - name: faas_function_suffix
+ value: .{{ .Values.functionNamespace }}
+ {{- end }}
---
{{- end }}
