Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Collins <alex_collins@intuit.com>
  • Loading branch information
alexec committed Jun 3, 2021
1 parent e012aa4 commit 1efdfe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docs/sidecar-injection.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,5 @@ You can override the kill command by using a pod annotation, for example:
spec:
podMetadata:
annotations:
workflows.argoproj.io/kill-cmd-main: '["sh", "-c", "kill -%d -- -1]'
workflows.argoproj.io/kill-cmd-vault-agent: '["sh", "-c", "kill -%d 1]'
workflows.argoproj.io/kill-cmd-vault-agent: '["sh", "-c", "kill -%d 1"]'
```
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
entrypoint: main
podMetadata:
annotations:
workflows.argoproj.io/kill-cmd-sidecar: '["sh", "-c", "kill -%d -- -1"]'
workflows.argoproj.io/kill-cmd-sidecar: '["sh", "-c", "kill -s%d -- -1"]'
podSpecPatch: |
terminationGracePeriodSeconds: 3
containers:
Expand Down

0 comments on commit 1efdfe6

Please sign in to comment.