Commit 729c0b05 authored by Bryan Moyles's avatar Bryan Moyles Committed by Karol Wychowaniec

Fix bash command for liveness probes in the metadata agents.

parent 7195f798
...@@ -47,7 +47,7 @@ spec: ...@@ -47,7 +47,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;
...@@ -110,7 +110,7 @@ spec: ...@@ -110,7 +110,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;
......
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