Fix bash command for liveness probes in the metadata agents.

This commit is contained in:
Bryan Moyles 2018-04-23 15:47:05 -04:00
parent e52e68a0eb
commit e2beef533f

View File

@ -50,7 +50,7 @@ spec:
exec: exec:
command: command:
- /bin/bash - /bin/bash
- c - -c
- | - |
if [[ -f /var/run/metadata-agent/health/unhealthy ]]; then if [[ -f /var/run/metadata-agent/health/unhealthy ]]; then
exit 1; exit 1;
@ -113,7 +113,7 @@ spec:
exec: exec:
command: command:
- /bin/bash - /bin/bash
- c - -c
- | - |
if [[ -f /var/run/metadata-agent/health/unhealthy ]]; then if [[ -f /var/run/metadata-agent/health/unhealthy ]]; then
exit 1; exit 1;