Skip to content
Snippets Groups Projects
Commit 6f5dcf62 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

use https for probes on labdev/analytics

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