Skip to content

Commit 48fb99c

Browse files
feat(container): update the API
#### container:v1beta1 The following keys were added: - schemas.Cluster.properties.secretSyncConfig.$ref - schemas.Cluster.properties.secretSyncConfig.description - schemas.ContainerdConfig.properties.writableCgroups.$ref - schemas.ContainerdConfig.properties.writableCgroups.description - schemas.SecretSyncConfig.description - schemas.SecretSyncConfig.id - schemas.SecretSyncConfig.properties.enabled.description - schemas.SecretSyncConfig.properties.enabled.type - schemas.SecretSyncConfig.properties.rotationConfig.$ref - schemas.SecretSyncConfig.properties.rotationConfig.description - schemas.SecretSyncConfig.type - schemas.SyncRotationConfig.description - schemas.SyncRotationConfig.id - schemas.SyncRotationConfig.properties.enabled.description - schemas.SyncRotationConfig.properties.enabled.type - schemas.SyncRotationConfig.properties.rotationInterval.description - schemas.SyncRotationConfig.properties.rotationInterval.format - schemas.SyncRotationConfig.properties.rotationInterval.type - schemas.SyncRotationConfig.type - schemas.WritableCgroups.description - schemas.WritableCgroups.id - schemas.WritableCgroups.properties.enabled.description - schemas.WritableCgroups.properties.enabled.type - schemas.WritableCgroups.type The following keys were changed: - schemas.NodeKubeletConfig.properties.cpuCfsQuotaPeriod.description
1 parent 360b54a commit 48fb99c

File tree

2 files changed

+98
-3
lines changed

2 files changed

+98
-3
lines changed

discovery/container-v1beta1.json

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2685,7 +2685,7 @@
26852685
}
26862686
}
26872687
},
2688-
"revision": "20250923",
2688+
"revision": "20250930",
26892689
"rootUrl": "https://container.googleapis.com/",
26902690
"schemas": {
26912691
"AcceleratorConfig": {
@@ -3834,6 +3834,10 @@
38343834
"$ref": "SecretManagerConfig",
38353835
"description": "Secret CSI driver configuration."
38363836
},
3837+
"secretSyncConfig": {
3838+
"$ref": "SecretSyncConfig",
3839+
"description": "Configuration for sync Secret Manager secrets as k8s secrets."
3840+
},
38373841
"securityPostureConfig": {
38383842
"$ref": "SecurityPostureConfig",
38393843
"description": "Enable/Disable Security Posture API features for the cluster."
@@ -4603,6 +4607,10 @@
46034607
"privateRegistryAccessConfig": {
46044608
"$ref": "PrivateRegistryAccessConfig",
46054609
"description": "PrivateRegistryAccessConfig is used to configure access configuration for private container registries."
4610+
},
4611+
"writableCgroups": {
4612+
"$ref": "WritableCgroups",
4613+
"description": "Optional. WritableCgroups defines writable cgroups configuration for the node pool."
46064614
}
46074615
},
46084616
"type": "object"
@@ -6930,7 +6938,7 @@
69306938
"type": "boolean"
69316939
},
69326940
"cpuCfsQuotaPeriod": {
6933-
"description": "Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300ms\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration.",
6941+
"description": "Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300ms\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration between 1ms and 1 second, inclusive.",
69346942
"type": "string"
69356943
},
69366944
"cpuManagerPolicy": {
@@ -8337,6 +8345,21 @@
83378345
},
83388346
"type": "object"
83398347
},
8348+
"SecretSyncConfig": {
8349+
"description": "Configuration for sync Secret Manager secrets as k8s secrets.",
8350+
"id": "SecretSyncConfig",
8351+
"properties": {
8352+
"enabled": {
8353+
"description": "Enable/Disable Secret Sync Config.",
8354+
"type": "boolean"
8355+
},
8356+
"rotationConfig": {
8357+
"$ref": "SyncRotationConfig",
8358+
"description": "Rotation config for secret manager."
8359+
}
8360+
},
8361+
"type": "object"
8362+
},
83408363
"SecurityBulletinEvent": {
83418364
"description": "SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to.",
83428365
"id": "SecurityBulletinEvent",
@@ -9114,6 +9137,22 @@
91149137
},
91159138
"type": "object"
91169139
},
9140+
"SyncRotationConfig": {
9141+
"description": "SyncRotationConfig is config for secret manager auto rotation.",
9142+
"id": "SyncRotationConfig",
9143+
"properties": {
9144+
"enabled": {
9145+
"description": "Whether the rotation is enabled.",
9146+
"type": "boolean"
9147+
},
9148+
"rotationInterval": {
9149+
"description": "The interval between two consecutive rotations. Default rotation interval is 2 minutes.",
9150+
"format": "google-duration",
9151+
"type": "string"
9152+
}
9153+
},
9154+
"type": "object"
9155+
},
91179156
"TimeWindow": {
91189157
"description": "Represents an arbitrary window of time.",
91199158
"id": "TimeWindow",
@@ -9981,6 +10020,17 @@
998110020
}
998210021
},
998310022
"type": "object"
10023+
},
10024+
"WritableCgroups": {
10025+
"description": "Defines writable cgroups configuration.",
10026+
"id": "WritableCgroups",
10027+
"properties": {
10028+
"enabled": {
10029+
"description": "Optional. Whether writable cgroups is enabled.",
10030+
"type": "boolean"
10031+
}
10032+
},
10033+
"type": "object"
998410034
}
998510035
},
998610036
"servicePath": "",

src/apis/container/v1beta1.ts

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,10 @@ export namespace container_v1beta1 {
996996
* Secret CSI driver configuration.
997997
*/
998998
secretManagerConfig?: Schema$SecretManagerConfig;
999+
/**
1000+
* Configuration for sync Secret Manager secrets as k8s secrets.
1001+
*/
1002+
secretSyncConfig?: Schema$SecretSyncConfig;
9991003
/**
10001004
* Enable/Disable Security Posture API features for the cluster.
10011005
*/
@@ -1556,6 +1560,10 @@ export namespace container_v1beta1 {
15561560
* PrivateRegistryAccessConfig is used to configure access configuration for private container registries.
15571561
*/
15581562
privateRegistryAccessConfig?: Schema$PrivateRegistryAccessConfig;
1563+
/**
1564+
* Optional. WritableCgroups defines writable cgroups configuration for the node pool.
1565+
*/
1566+
writableCgroups?: Schema$WritableCgroups;
15591567
}
15601568
/**
15611569
* Configuration for all of the cluster's control plane endpoints.
@@ -3111,7 +3119,7 @@ export namespace container_v1beta1 {
31113119
*/
31123120
cpuCfsQuota?: boolean | null;
31133121
/**
3114-
* Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
3122+
* Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive.
31153123
*/
31163124
cpuCfsQuotaPeriod?: string | null;
31173125
/**
@@ -4047,6 +4055,19 @@ export namespace container_v1beta1 {
40474055
*/
40484056
rotationConfig?: Schema$RotationConfig;
40494057
}
4058+
/**
4059+
* Configuration for sync Secret Manager secrets as k8s secrets.
4060+
*/
4061+
export interface Schema$SecretSyncConfig {
4062+
/**
4063+
* Enable/Disable Secret Sync Config.
4064+
*/
4065+
enabled?: boolean | null;
4066+
/**
4067+
* Rotation config for secret manager.
4068+
*/
4069+
rotationConfig?: Schema$SyncRotationConfig;
4070+
}
40504071
/**
40514072
* SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to.
40524073
*/
@@ -4591,6 +4612,19 @@ export namespace container_v1beta1 {
45914612
*/
45924613
message?: string | null;
45934614
}
4615+
/**
4616+
* SyncRotationConfig is config for secret manager auto rotation.
4617+
*/
4618+
export interface Schema$SyncRotationConfig {
4619+
/**
4620+
* Whether the rotation is enabled.
4621+
*/
4622+
enabled?: boolean | null;
4623+
/**
4624+
* The interval between two consecutive rotations. Default rotation interval is 2 minutes.
4625+
*/
4626+
rotationInterval?: string | null;
4627+
}
45944628
/**
45954629
* Represents an arbitrary window of time.
45964630
*/
@@ -5201,6 +5235,15 @@ export namespace container_v1beta1 {
52015235
*/
52025236
autopilotCompatibilityAuditingEnabled?: boolean | null;
52035237
}
5238+
/**
5239+
* Defines writable cgroups configuration.
5240+
*/
5241+
export interface Schema$WritableCgroups {
5242+
/**
5243+
* Optional. Whether writable cgroups is enabled.
5244+
*/
5245+
enabled?: boolean | null;
5246+
}
52045247

52055248
export class Resource$Projects {
52065249
context: APIRequestContext;
@@ -6633,6 +6676,7 @@ export namespace container_v1beta1 {
66336676
* // "satisfiesPzi": false,
66346677
* // "satisfiesPzs": false,
66356678
* // "secretManagerConfig": {},
6679+
* // "secretSyncConfig": {},
66366680
* // "securityPostureConfig": {},
66376681
* // "selfLink": "my_selfLink",
66386682
* // "servicesIpv4Cidr": "my_servicesIpv4Cidr",
@@ -12953,6 +12997,7 @@ export namespace container_v1beta1 {
1295312997
* // "satisfiesPzi": false,
1295412998
* // "satisfiesPzs": false,
1295512999
* // "secretManagerConfig": {},
13000+
* // "secretSyncConfig": {},
1295613001
* // "securityPostureConfig": {},
1295713002
* // "selfLink": "my_selfLink",
1295813003
* // "servicesIpv4Cidr": "my_servicesIpv4Cidr",

0 commit comments

Comments
 (0)