Skip to content

Commit c77c067

Browse files
Google APIscopybara-github
authored andcommitted
docs: BinaryAuthorization.enabled field is marked as deprecated
PiperOrigin-RevId: 464729666
1 parent 901a2a2 commit c77c067

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

google/container/v1/cluster_service.proto

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,9 +1219,10 @@ message BinaryAuthorization {
12191219
PROJECT_SINGLETON_POLICY_ENFORCE = 2;
12201220
}
12211221

1222-
// Enable Binary Authorization for this cluster. If enabled, all container
1223-
// images will be validated by Binary Authorization.
1224-
bool enabled = 1;
1222+
// This field is deprecated. Leave this unset and instead configure
1223+
// BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
1224+
// anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
1225+
bool enabled = 1 [deprecated = true];
12251226

12261227
// Mode of operation for binauthz policy evaluation. Currently the only
12271228
// options are equivalent to enable/disable. If unspecified, defaults to
@@ -1705,7 +1706,7 @@ message NodePoolDefaults {
17051706

17061707
// Subset of NodeConfig message that has defaults.
17071708
message NodeConfigDefaults {
1708-
// GCFS (Google Container File System, a.k.a. Riptide) options.
1709+
// GCFS (Google Container File System, also known as Riptide) options.
17091710
GcfsConfig gcfs_config = 1;
17101711
}
17111712

@@ -3203,7 +3204,7 @@ message SetNodePoolSizeRequest {
32033204
message CompleteNodePoolUpgradeRequest {
32043205
// The name (project, location, cluster, node pool id) of the node pool to
32053206
// complete upgrade.
3206-
// Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
3207+
// Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
32073208
string name = 1;
32083209
}
32093210

@@ -3306,7 +3307,8 @@ message AutoprovisioningNodePoolDefaults {
33063307
// information, read [how to specify min CPU
33073308
// platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
33083309
// This field is deprecated, min_cpu_platform should be specified using
3309-
// cloud.google.com/requested-min-cpu-platform label selector on the pod.
3310+
// https://cloud.google.com/requested-min-cpu-platform label selector on the
3311+
// pod.
33103312
// To unset the min cpu platform field pass "automatic"
33113313
// as field value.
33123314
string min_cpu_platform = 5 [deprecated = true];

0 commit comments

Comments
 (0)