use https for probes on labdev/analytics

parent c5d1e50d
......@@ -559,6 +559,10 @@ EOF
name: web-certs
EOF
fi
scheme=HTTP
if [ "$target_hostname" == "labdev-nomad" -o "$target_hostname" == "labtest-nomad" ] ; then
scheme=HTTPS
fi
cat >> $targetF <<EOF
- mountPath: "/usr/src/app/kube-certs"
name: kube-certs
......@@ -571,12 +575,14 @@ EOF
httpGet:
path: "/nmdalive"
port: 3003
scheme: "$scheme"
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: "/nmdalive"
port: 3003
scheme: "$scheme"
initialDelaySeconds: 30
periodSeconds: 30
volumes:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment