You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): make e2e test bundle compatible with restricted SCC (#2711)
The e2e test operator ran busybox httpd on port 80 writing to /var/www/,
both of which require root. Restricted SCC enforces non-root UIDs from a
namespace-assigned range, causing the pod to crash with Permission denied.
Similarly, several feature files hardcoded runAsUser:1000 which falls
outside the allowed UID range on some k8s implementations.
Changes:
- bundle.go: switch httpd from port 80+/var/www to port 8080+/tmp/www so
the pod starts under any SCC without root privileges
- steps.go: match the /tmp/www path in the readiness exec probe; add
OLM_NAMESPACE as a substitution variable; make per-step timeout
configurable via E2E_STEP_TIMEOUT env var (default 5m unchanged)
- install.feature: replace hardcoded "olmv1-system" with ${OLM_NAMESPACE}
so referred-secret lookups work when OLM is deployed in a different
namespace
- revision.feature, recover.feature: remove runAsUser:1000 from pod/
container specs; keep runAsNonRoot:true
Signed-off-by: Todd Short <tshort@redhat.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments