Commit e2beef53 authored by Bryan Moyles's avatar Bryan Moyles

Fix bash command for liveness probes in the metadata agents.

parent e52e68a0
...@@ -50,7 +50,7 @@ spec: ...@@ -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: ...@@ -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;
......
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