Merge pull request #63033 from bmoyles0117/fix-liveness-probe-for-metadata-agent-off-master

Automatic merge from submit-queue (batch tested with PRs 63033, 62993). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix bash command for liveness probes in the metadata agents.

**What this PR does / why we need it**:
This PR resolves an error in the way that the bash liveness probe is defined.

**Release note**:
```release-note
Fix the liveness probe to use `/bin/bash -c` instead of `/bin/bash c`.
```
This commit is contained in:
Kubernetes Submit Queue 2018-04-24 06:48:09 -07:00 committed by GitHub
commit 6917ed47fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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