Skip to content

Commit 1ef8cc2

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add deploy parameters for cloud deploy
PiperOrigin-RevId: 542243817
1 parent 06f7999 commit 1ef8cc2

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

google/cloud/deploy/v1/cloud_deploy.proto

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,22 @@ message Stage {
415415

416416
// Optional. The strategy to use for a `Rollout` to this stage.
417417
Strategy strategy = 5 [(google.api.field_behavior) = OPTIONAL];
418+
419+
// Optional. The deploy parameters to use for the target in this stage.
420+
repeated DeployParameters deploy_parameters = 6
421+
[(google.api.field_behavior) = OPTIONAL];
422+
}
423+
424+
// DeployParameters contains deploy parameters information.
425+
message DeployParameters {
426+
// Required. Values are deploy parameters in key-value pairs.
427+
map<string, string> values = 1 [(google.api.field_behavior) = REQUIRED];
428+
429+
// Optional. Deploy parameters are applied to targets with match labels.
430+
// If unspecified, deploy parameters are applied to all targets (including
431+
// child targets of a multi-target).
432+
map<string, string> match_target_labels = 2
433+
[(google.api.field_behavior) = OPTIONAL];
418434
}
419435

420436
// Strategy contains deployment strategy information.
@@ -877,6 +893,10 @@ message Target {
877893
// When no configurations are specified, execution will use the default
878894
// specified in `DefaultPool`.
879895
repeated ExecutionConfig execution_configs = 16;
896+
897+
// Optional. The deploy parameters to use for this target.
898+
map<string, string> deploy_parameters = 20
899+
[(google.api.field_behavior) = OPTIONAL];
880900
}
881901

882902
// Configuration of the environment to use when calling Skaffold.
@@ -1412,6 +1432,10 @@ message Release {
14121432

14131433
// Output only. Information around the state of the Release.
14141434
ReleaseCondition condition = 24 [(google.api.field_behavior) = OUTPUT_ONLY];
1435+
1436+
// Optional. The deploy parameters to use for all targets in this release.
1437+
map<string, string> deploy_parameters = 25
1438+
[(google.api.field_behavior) = OPTIONAL];
14151439
}
14161440

14171441
// Description of an a image to use during Skaffold rendering.

0 commit comments

Comments
 (0)