Skip to content

Commit

Permalink
feat(helm-charts): allow emitting logs for preStop hook
Browse files Browse the repository at this point in the history
  • Loading branch information
moabu committed Oct 19, 2022
1 parent 19d9989 commit 2cdd90f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
lifecycle:
preStop:
exec:
command: ["python3", "/app/scripts/deregister_peer.py"]
command: ["/bin/sh", "-c", "python3 /app/scripts/deregister_peer.py 1>&/proc/1/fd/1"]
envFrom:
- configMapRef:
name: {{ $.Release.Name }}-config-cm
Expand Down

0 comments on commit 2cdd90f

Please sign in to comment.