Skip to content

Commit

Permalink
Merge pull request #339 from masap/sr-release-v0.87.2
Browse files Browse the repository at this point in the history
Updating supportability-review collection scripts (v0.87.2)
  • Loading branch information
dkeightley authored Jan 28, 2025
2 parents 9448e6d + 897e0b9 commit 16662ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions collection/rancher/v2.x/supportability-review/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ If your clusters use any of these security tools, review the required configurat
- Please ensure that your downstream clusters are listed as Active in Rancher
- Any cluster in updating or not active will NOT be collected for review

4. **SELinux**
- Please use `export ENABLE_PRIVILEGED="true"`, if SELinux is enabled.

# ✅ Post Assesment - Installation Steps ✅

### 1. Environment Preparation
Expand Down
4 changes: 4 additions & 0 deletions collection/rancher/v2.x/supportability-review/collect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ fi
CONTAINER_RUNTIME_ARGS=""
COLLECT_INFO_FROM_RANCHER_SETUP_ARGS=""

if [ "$ENABLE_PRIVILEGED" = "true" ]; then
CONTAINER_RUNTIME_ARGS="$CONTAINER_RUNTIME_ARGS --privileged"
fi

if [ "${SONOBUOY_TOLERATION_FILE}" != "" ]; then
if [ ! -f "${SONOBUOY_TOLERATION_FILE}" ]; then
echo "error: SONOBUOY_TOLERATION_FILE=${SONOBUOY_TOLERATION_FILE} specified, but cannot access that file"
Expand Down

0 comments on commit 16662ec

Please sign in to comment.