Scenario 3: --infra-json Without Role Flags (Regression Check)

Objective: Verify that using --infra-json without any role assignment flags succeeds — existing workflow is unaffected by the new validation.

Result: PASS — Command exits cleanly with no validation errors. Manifests rendered successfully.

Command

$ hypershift create cluster azure \
    --name test-s3 \
    --azure-creds creds.yaml \
    --infra-json infra.json \
    --pull-secret pull-secret.json \
    --release-image quay.io/openshift-release-dev/ocp-release:4.18.0-x86_64 \
    --workload-identities-file wi.json \
    --render --render-into /dev/null

Full Output

(no output — command completed silently)

Exit code: 0

Verification

CheckResult
Command exits with zero codePASS — Exit code: 0
No role-assignment-related errorsPASS — No output, no errors
Existing workflow unaffectedPASS — Manifests rendered to /dev/null
← Scenario 2 Scenario 4 →