Skip to content

Commit

Permalink
feat: [container] add API for GPU driver installation config (#9534)
Browse files Browse the repository at this point in the history
* 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: googleapis/googleapis-gen@b7903fd
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: googleapis/googleapis-gen@0988e7e
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Jun 22, 2023
1 parent 6a5d805 commit 1c2b1d4
Show file tree
Hide file tree
Showing 656 changed files with 13,608 additions and 4,427 deletions.
4 changes: 2 additions & 2 deletions java-container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.16.0</version>
<version>26.17.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-container.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.21.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.22.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
import com.google.container.v1.ResourceLabels;
import com.google.container.v1.ResourceUsageExportConfig;
import com.google.container.v1.RollbackNodePoolUpgradeRequest;
import com.google.container.v1.SecurityPostureConfig;
import com.google.container.v1.ServerConfig;
import com.google.container.v1.SetAddonsConfigRequest;
import com.google.container.v1.SetLabelsRequest;
Expand Down Expand Up @@ -328,6 +329,7 @@ public void getClusterTest() throws Exception {
.setNodePoolAutoConfig(NodePoolAutoConfig.newBuilder().build())
.setEtag("etag3123477")
.setFleet(Fleet.newBuilder().build())
.setSecurityPostureConfig(SecurityPostureConfig.newBuilder().build())
.setEnableK8SBetaApis(K8sBetaAPIConfig.newBuilder().build())
.build();
mockClusterManager.addResponse(expectedResponse);
Expand Down Expand Up @@ -429,6 +431,7 @@ public void getClusterTest2() throws Exception {
.setNodePoolAutoConfig(NodePoolAutoConfig.newBuilder().build())
.setEtag("etag3123477")
.setFleet(Fleet.newBuilder().build())
.setSecurityPostureConfig(SecurityPostureConfig.newBuilder().build())
.setEnableK8SBetaApis(K8sBetaAPIConfig.newBuilder().build())
.build();
mockClusterManager.addResponse(expectedResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
import com.google.container.v1beta1.ResourceLabels;
import com.google.container.v1beta1.ResourceUsageExportConfig;
import com.google.container.v1beta1.RollbackNodePoolUpgradeRequest;
import com.google.container.v1beta1.SecurityPostureConfig;
import com.google.container.v1beta1.ServerConfig;
import com.google.container.v1beta1.SetAddonsConfigRequest;
import com.google.container.v1beta1.SetLabelsRequest;
Expand Down Expand Up @@ -311,6 +312,7 @@ public void getClusterTest() throws Exception {
.setProtectConfig(ProtectConfig.newBuilder().build())
.setEtag("etag3123477")
.setFleet(Fleet.newBuilder().build())
.setSecurityPostureConfig(SecurityPostureConfig.newBuilder().build())
.build();
mockClusterManager.addResponse(expectedResponse);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2020 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2020 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 1c2b1d4

Please sign in to comment.