Skip to content

Commit

Permalink
Merge pull request cri-o#6489 from sairameshv/evented_pleg
Browse files Browse the repository at this point in the history
OCPNODE-1336: Enable upstream CI to test node e2e with evented pleg feature
  • Loading branch information
openshift-merge-robot authored Jan 9, 2023
2 parents 93a199d + 815a426 commit a8c9ddc
Showing 1 changed file with 10 additions and 0 deletions.
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

0 comments on commit a8c9ddc

Please sign in to comment.