fix host port format for nc command
diff --git a/helm/openwhisk/templates/zookeeper-pod.yaml b/helm/openwhisk/templates/zookeeper-pod.yaml
index 21e1b2a..e673023 100644
--- a/helm/openwhisk/templates/zookeeper-pod.yaml
+++ b/helm/openwhisk/templates/zookeeper-pod.yaml
@@ -82,7 +82,7 @@
command:
- /bin/bash
- -c
- - "echo ruok | nc -w 1 localhost:{{ .Values.zookeeper.port }} | grep imok"
+ - "echo ruok | nc -w 1 localhost {{ .Values.zookeeper.port }} | grep imok"
initialDelaySeconds: {{ .Values.probes.zookeeper.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.zookeeper.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.probes.zookeeper.readinessProbe.timeoutSeconds }}
diff --git a/helm/openwhisk/values.yaml b/helm/openwhisk/values.yaml
index 9e974a4..3349f70 100644
--- a/helm/openwhisk/values.yaml
+++ b/helm/openwhisk/values.yaml
@@ -165,7 +165,7 @@
zookeeper:
imageName: "zookeeper"
imageTag: "3.4"
- imagePullPolicy: "Always" # Workaround caching of 3.4.x images that don't have nc
+ imagePullPolicy: "IfNotPresent"
# Note: Zookeeper's quorum protocol is designed to have an odd number of replicas.
replicaCount: 1
restartPolicy: "Always"