Set operator image pull policy using values.yaml
tested on Docker for Mac by installing the chart with internet, going offline, uninstalling and then installing again with IfNotPresent
fix
@@ -97,7 +97,7 @@ spec:
{{- if .Values.operator.create }}
- name: operator
image: {{ .Values.operator.image }}
- imagePullPolicy: Always
+ imagePullPolicy: {{ .Values.openfaasImagePullPolicy }}
command:
- ./openfaas-operator
- -logtostderr
