Skip to content

Commit

Permalink
Add proto field to support a global image failsafe (#1790)
Browse files Browse the repository at this point in the history
* Add proto field to support a global image failsafe

* Rename field
  • Loading branch information
mwaskom authored May 3, 2024
1 parent 7d02937 commit 4d03618
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1285,6 +1285,8 @@ message ImageGetOrCreateRequest {
bool force_build = 7;
DeploymentNamespace namespace = 8;
string builder_version = 9;
// Only admins can publish global images, but this provides an extra failsafe
bool allow_global_deployment = 10;
}

message ImageGetOrCreateResponse {
Expand Down

0 comments on commit 4d03618

Please sign in to comment.