Fixing incorrect usage of Helm values inside normal Kubernetes manifests
@@ -54,19 +54,17 @@ spec:
limits:
memory: 250Mi # Adjust to suit needs of deployment
- name: faas-netesd
- image: {{ .Values.images.controller }}
- imagePullPolicy: {{ .Values.openfaasImagePullPolicy }}
+ image: functions/faas-netesd:0.5.5
+ imagePullPolicy: Always
env:
- name: port
value: "8081"
- name: function_namespace
- value: {{ $functionNs | quote }}
+ value: openfaas-fn
- name: read_timeout
- value: "{{ .Values.faasnetesd.readTimeout }}"
+ value: "10"
- name: write_timeout
- value: "{{ .Values.faasnetesd.writeTimeout }}"
- - name: image_pull_policy
- value: {{ .Values.faasnetesd.imagePullPolicy | quote }}
+ value: "10"
ports:
- containerPort: 8081
protocol: TCP
