Ensure init containers always fail when the script fails
Registered by
Kevin Fox
Init containers block the pod they init if it detects a failure. Our current ones though don't have any logic in it to fail unless the last command fails.
We should change the /bin/sh -c '....' to /bin/sh -ec '....' on all the init containers to ensure they fail if any command fails.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Kevin Fox
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Superseded
- Series goal:
- None
- Implementation:
- Not started
- Milestone target:
- None
- Started by
- Completed by
- Steven Dake
Related branches
Related bugs
Sprints
Whiteboard
We should be able to distribute this work among the community if needed.
Gerrit topic: https:/
Addressed by: https:/
Fail nova-compute init container always
(?)