Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
10 changes: 10 additions & 0 deletions scripts/node_e2e_installer
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set -euo pipefail

# Commit to run upstream node e2e tests
NODE_E2E_COMMIT=085e3a03cf17d8a97e14551ec83137954328f627
ENABLE_POD_EVENTS=${ENABLE_POD_EVENTS:-"false"}

enable_selinux() {
# Make sure SELinux is enabled
Expand Down Expand Up @@ -48,6 +49,15 @@ EOF
drop_infra_ctr = false
EOF

for condition in "true" "True" "TRUE"; do
if [[ "${ENABLE_POD_EVENTS}" = "$condition" ]]; then
cat <<EOF >/etc/crio/crio.conf.d/40-evented-pleg.conf
[crio.runtime]
enable_pod_events = true
EOF
break
fi
done
}

enable_selinux
Expand Down