Skip to content

Commit 901a2a2

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

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

google/container/v1beta1/cluster_service.proto

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ message NetworkPolicy {
12621262

12631263
// Configuration for controlling how IPs are allocated in the cluster.
12641264
message IPAllocationPolicy {
1265-
// IP stack type
1265+
// Possible values for IP stack type
12661266
enum StackType {
12671267
// By default, the clusters will be IPV4 only
12681268
STACK_TYPE_UNSPECIFIED = 0;
@@ -1446,9 +1446,10 @@ message BinaryAuthorization {
14461446
PROJECT_SINGLETON_POLICY_ENFORCE = 2;
14471447
}
14481448

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

14531454
// Mode of operation for binauthz policy evaluation. Currently the only
14541455
// options are equivalent to enable/disable. If unspecified, defaults to
@@ -1920,7 +1921,7 @@ message NodePoolDefaults {
19201921

19211922
// Subset of NodeConfig message that has defaults.
19221923
message NodeConfigDefaults {
1923-
// GCFS (Google Container File System, a.k.a. Riptide) options.
1924+
// GCFS (Google Container File System, also known as Riptide) options.
19241925
GcfsConfig gcfs_config = 1;
19251926
}
19261927

@@ -3718,7 +3719,7 @@ message SetNodePoolSizeRequest {
37183719
message CompleteNodePoolUpgradeRequest {
37193720
// The name (project, location, cluster, node pool id) of the node pool to
37203721
// complete upgrade.
3721-
// Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
3722+
// Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
37223723
string name = 1;
37233724
}
37243725

@@ -3849,7 +3850,8 @@ message AutoprovisioningNodePoolDefaults {
38493850
// information, read [how to specify min CPU
38503851
// platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
38513852
// This field is deprecated, min_cpu_platform should be specified using
3852-
// cloud.google.com/requested-min-cpu-platform label selector on the pod.
3853+
// https://cloud.google.com/requested-min-cpu-platform label selector on the
3854+
// pod.
38533855
// To unset the min cpu platform field pass "automatic"
38543856
// as field value.
38553857
string min_cpu_platform = 5 [deprecated = true];
@@ -4291,7 +4293,7 @@ message Location {
42914293
// Specified in the format `projects/*/locations/*`.
42924294
string name = 2;
42934295

4294-
// Whether the location is recomended for GKE cluster scheduling.
4296+
// Whether the location is recommended for GKE cluster scheduling.
42954297
bool recommended = 3;
42964298
}
42974299

0 commit comments

Comments
 (0)