Skip to content

Commit f49b4b1

Browse files
committed
OCPBUGS-34040: Add --dir /tmp to node-joiner-monitor.sh
The containerized monitor-add-nodes does not have the correct permissions to write to the current working directory. Set the working directory to /tmp in the container command.
1 parent 90915ce commit f49b4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user/agent/add-node/node-joiner-monitor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ spec:
100100
- name: node-joiner-monitor
101101
imagePullPolicy: IfNotPresent
102102
image: $nodeJoinerPullspec
103-
command: ["/bin/sh", "-c", "node-joiner monitor-add-nodes $ipAddresses --log-level=info; sleep 5"]
103+
command: ["/bin/sh", "-c", "node-joiner monitor-add-nodes $ipAddresses --dir /tmp --log-level=info; sleep 5"]
104104
EOF
105105
)
106106
echo "$nodeJoinerPod" | oc apply -f -

0 commit comments

Comments
 (0)