diff options
author | Bryan Strassner <bryan.strassner@gmail.com> | 2018-11-30 15:39:43 -0600 |
---|---|---|
committer | Bryan Strassner <bryan.strassner@gmail.com> | 2018-11-30 15:39:43 -0600 |
commit | 425d8bdff8b5fb9aadd22bfbf6de727986e7abe0 (patch) | |
tree | 2cc1c6f6fa96f6132fb04fb953b35ee79c98e803 | |
parent | fafdaae196b1d9890226391e7aea5e8877cafda1 (diff) |
[FIX] liveness probe file location fix
Fixes the destination for the file created during the liveness probe for
the apiserver anchor pod so that it exists in the desired location for
the subsequent check.
Change-Id: I29966ee47524f73b018cc6ea85854a42a406dfc3
Notes
Notes (review):
Code-Review+2: Aaron Sheffield <ajs@sheffieldfamily.net>
Code-Review+1: Kaspars Skels <kaspars.skels@gmail.com>
Code-Review+2: Craig Anderson <craig.anderson@att.com>
Workflow+1: Craig Anderson <craig.anderson@att.com>
Verified+2: Zuul
Submitted-by: Zuul
Submitted-at: Sat, 01 Dec 2018 00:54:56 +0000
Reviewed-on: https://review.openstack.org/621294
Project: openstack/airship-promenade
Branch: refs/heads/master
-rw-r--r-- | charts/apiserver/templates/daemonset.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charts/apiserver/templates/daemonset.yaml b/charts/apiserver/templates/daemonset.yaml index 95559c8..f50a05d 100644 --- a/charts/apiserver/templates/daemonset.yaml +++ b/charts/apiserver/templates/daemonset.yaml | |||
@@ -72,7 +72,7 @@ spec: | |||
72 | - -c | 72 | - -c |
73 | - |- | 73 | - |- |
74 | if [ ! -f /host{{ .Values.apiserver.host_etc_path }}/pki/apiserver-both.pem ]; then | 74 | if [ ! -f /host{{ .Values.apiserver.host_etc_path }}/pki/apiserver-both.pem ]; then |
75 | cat /host{{ .Values.apiserver.host_etc_path }}/pki/apiserver-key.pem /host{{ .Values.apiserver.host_etc_path }}/pki/apiserver.pem > /etc/kubernetes/apiserver/pki/apiserver-both.pem | 75 | cat /host{{ .Values.apiserver.host_etc_path }}/pki/apiserver-key.pem /host{{ .Values.apiserver.host_etc_path }}/pki/apiserver.pem > /host{{ .Values.apiserver.host_etc_path }}/pki/apiserver-both.pem |
76 | fi | 76 | fi |
77 | echo -e 'GET /healthz HTTP/1.0\r\n' | socat - openssl:localhost:{{ .Values.network.kubernetes_apiserver.port }},cert=/host{{ .Values.apiserver.host_etc_path }}/pki/apiserver-both.pem,cafile=/host{{ .Values.apiserver.host_etc_path }}/pki/cluster-ca.pem | grep '200 OK' | 77 | echo -e 'GET /healthz HTTP/1.0\r\n' | socat - openssl:localhost:{{ .Values.network.kubernetes_apiserver.port }},cert=/host{{ .Values.apiserver.host_etc_path }}/pki/apiserver-both.pem,cafile=/host{{ .Values.apiserver.host_etc_path }}/pki/cluster-ca.pem | grep '200 OK' |
78 | exit $? | 78 | exit $? |