Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: istio proxy exiting early when Pod has restart policy (#914)
## Description This changes the proxy cleanup logic to be: All containers terminated AND either: - restartPolicy of Never - restartPolicy of OnFailure w/0 exit code A restartPolicy of Always should keep restarting the containers inside the pod and should not need proxy cleanup. ## Related Issue Fixes #913 ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Other (security config, docs update, etc) ## Checklist before merging - [ ] Test, docs, adr added or updated as needed - [x] [Contributor Guide](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md) followed
- Loading branch information