Skip to content

Commit 1c2b1d4

Browse files
feat: [container] add API for GPU driver installation config (#9534)
* feat: add API for GPU driver installation config --- feat: add SecurityPostureConfig API field to allow customers to enable GKE Security Posture capabilities for their clusters --- feat: add workloadPolicyConfig API field to allow customer enable NET_ADMIN capability for their autopilot clusters PiperOrigin-RevId: 539136563 Source-Link: googleapis/googleapis@ca49cb9 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b7903fd0e95031cce1ed78dbb82f44d7c3ba5ba1 Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6ImI3OTAzZmQwZTk1MDMxY2NlMWVkNzhkYmI4MmY0NGQ3YzNiYTViYTEifQ== feat: add API for GPU driver installation config --- feat: add SecurityPostureConfig API field to allow customers to enable GKE Security Posture capabilities for their clusters --- feat: add workloadPolicyConfig API field to allow customer enable NET_ADMIN capability for their autopilot clusters PiperOrigin-RevId: 538770734 Source-Link: googleapis/googleapis@b7e9312 Source-Link: https://github.com/googleapis/googleapis-gen/commit/0988e7e1feed3b087096b2167dc262320ead297a Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6IjA5ODhlN2UxZmVlZDNiMDg3MDk2YjIxNjdkYzI2MjMyMGVhZDI5N2EifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 6a5d805 commit 1c2b1d4

File tree

656 files changed

+13608
-4427
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

656 files changed

+13608
-4427
lines changed

java-container/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.16.0</version>
23+
<version>26.17.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-container.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.21.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.22.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
import com.google.container.v1.ResourceLabels;
100100
import com.google.container.v1.ResourceUsageExportConfig;
101101
import com.google.container.v1.RollbackNodePoolUpgradeRequest;
102+
import com.google.container.v1.SecurityPostureConfig;
102103
import com.google.container.v1.ServerConfig;
103104
import com.google.container.v1.SetAddonsConfigRequest;
104105
import com.google.container.v1.SetLabelsRequest;
@@ -328,6 +329,7 @@ public void getClusterTest() throws Exception {
328329
.setNodePoolAutoConfig(NodePoolAutoConfig.newBuilder().build())
329330
.setEtag("etag3123477")
330331
.setFleet(Fleet.newBuilder().build())
332+
.setSecurityPostureConfig(SecurityPostureConfig.newBuilder().build())
331333
.setEnableK8SBetaApis(K8sBetaAPIConfig.newBuilder().build())
332334
.build();
333335
mockClusterManager.addResponse(expectedResponse);
@@ -429,6 +431,7 @@ public void getClusterTest2() throws Exception {
429431
.setNodePoolAutoConfig(NodePoolAutoConfig.newBuilder().build())
430432
.setEtag("etag3123477")
431433
.setFleet(Fleet.newBuilder().build())
434+
.setSecurityPostureConfig(SecurityPostureConfig.newBuilder().build())
432435
.setEnableK8SBetaApis(K8sBetaAPIConfig.newBuilder().build())
433436
.build();
434437
mockClusterManager.addResponse(expectedResponse);

java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
import com.google.container.v1beta1.ResourceLabels;
107107
import com.google.container.v1beta1.ResourceUsageExportConfig;
108108
import com.google.container.v1beta1.RollbackNodePoolUpgradeRequest;
109+
import com.google.container.v1beta1.SecurityPostureConfig;
109110
import com.google.container.v1beta1.ServerConfig;
110111
import com.google.container.v1beta1.SetAddonsConfigRequest;
111112
import com.google.container.v1beta1.SetLabelsRequest;
@@ -311,6 +312,7 @@ public void getClusterTest() throws Exception {
311312
.setProtectConfig(ProtectConfig.newBuilder().build())
312313
.setEtag("etag3123477")
313314
.setFleet(Fleet.newBuilder().build())
315+
.setSecurityPostureConfig(SecurityPostureConfig.newBuilder().build())
314316
.build();
315317
mockClusterManager.addResponse(expectedResponse);
316318

java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2023 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2023 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)