Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions parts/linux/cloud-init/artifacts/ci-syslog-watcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ status=$(cat /var/run/mdsd-ci/update.status)

if [ "$status" = "add" ]; then
echo "Status changed to $status."
# The Container Insights add-on supplies this config outside AgentBaker.
# Copying it trusts /var/run/mdsd-ci writers to configure host rsyslog.
# Deployment owners must restrict writers to components trusted for that role;
# hostPath write access alone does not imply equivalent node-level privilege.
[ -f "/var/run/mdsd-ci/70-rsyslog-forward-mdsd-ci.conf" ] && cp /var/run/mdsd-ci/70-rsyslog-forward-mdsd-ci.conf /etc/rsyslog.d
elif [ "$status" = "remove" ]; then
echo "Status changed to $status."
Expand Down
Loading