When an attempt is made to deploy or serve an image that violates the
Binary Authorization policy, Cloud Run displays an error
along with a Breakglass button.
To bypass Binary Authorization enforcement and deploy or serve a
container that violates the policy, do the following:
Go to the Cloud Run Services page in the Google Cloud console.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This page details how to use the breakglass feature to deploy or serve an image on Cloud Run that doesn't comply with the Binary Authorization policy."],["Using breakglass automatically logs a breakglass event to Cloud Audit Logs, regardless of policy compliance, which can be used to trigger other actions."],["To use breakglass, you can navigate to the Cloud Run Services page and click the Breakglass button on an error indicating a policy violation, and provide a justification for the bypass."],["Alternatively, you can use the `gcloud` command-line tool to update a service and bypass Binary Authorization enforcement by including a justification."],["A log entry containing the breakglass justification is created when breakglass is utilized to bypass policy, for auditing purposes."]]],[]]