Skip to content

Commit 308c2ed

Browse files
authored
fix for postStart on OCP (#178)
1 parent fd90d13 commit 308c2ed

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
.vscode
33
temp/
44
kube-prometheus/
5+
config/vagrant/kubeconfig/cache
6+
config/vagrant/kubeconfig
7+
config/vagrant/.vagrant

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
lifecycle:
4040
postStart:
4141
exec:
42-
command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
42+
command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /tmp/message"]
4343
preStop:
4444
exec:
4545
command: ["/bin/sh", "-c", "killall -0 tail"]

0 commit comments

Comments
 (0)