✨ Reformat error wrapping for resolved bundle status by trgeiger · Pull Request #1938 · operator-framework/operator-controller

joelanford

joelanford

joelanford

@trgeiger trgeiger changed the title ✨ RBAC preflight: add newline after preauth error ✨ Reformat error wrapping for resolved bundle status

Apr 25, 2025

@trgeiger @perdasilva

Adds another test case to helm_test.go for when PreAuthorize() returns
missing RBAC rules.

Merges the noOpPreauthorizer and errPreAuthorizer into one
mockPreAuthorizer in helm_test.go.

Reverses the structure of the error string in
wrapErrorWithResolutionInfo such that the context is first and the error
follows.

Signed-off-by: Tayler Geiger <tayler@redhat.com>

Merged via the queue into operator-framework:main with commit 1171691

Apr 28, 2025

20 checks passed