Skip to content

Commit 27788b7

Browse files
authored
Adding postStart section (#174)
1 parent 91c47fe commit 27788b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test-target/local-pod-under-test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ spec:
3737
memory: 512Mi
3838
cpu: 0.25
3939
lifecycle:
40+
postStart:
41+
exec:
42+
command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
4043
preStop:
4144
exec:
4245
command: ["/bin/sh", "-c", "killall -0 tail"]

0 commit comments

Comments
 (0)