Skip to content

Commit f04c118

Browse files
feat(gkeonprem): update the api
#### gkeonprem:v1 The following keys were added: - schemas.EnrollBareMetalClusterRequest.properties.localNamespace.type (Total Keys: 1) - schemas.VmwareAdminCluster.properties.privateRegistryConfig.$ref (Total Keys: 1) - schemas.VmwareAdminPrivateRegistryConfig (Total Keys: 4)
1 parent c591aa6 commit f04c118

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

docs/dyn/gkeonprem_v1.projects.locations.bareMetalClusters.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ <h3>Method Details</h3>
506506
&quot;adminClusterMembership&quot;: &quot;A String&quot;, # Required. The admin cluster this bare metal user cluster belongs to. This is the full resource name of the admin cluster&#x27;s fleet membership. In the future, references to other resource types might be allowed if admin clusters are modeled as their own resources.
507507
&quot;bareMetalClusterId&quot;: &quot;A String&quot;, # User provided OnePlatform identifier that is used as part of the resource name. This must be unique among all bare metal clusters within a project and location and will return a 409 if the cluster already exists. (https://tools.ietf.org/html/rfc1123) format.
508508
&quot;localName&quot;: &quot;A String&quot;, # Optional. The object name of the bare metal cluster custom resource on the associated admin cluster. This field is used to support conflicting resource names when enrolling existing clusters to the API. When not provided, this field will resolve to the bare_metal_cluster_id. Otherwise, it must match the object name of the bare metal cluster custom resource. It is not modifiable outside / beyond the enrollment operation.
509+
&quot;localNamespace&quot;: &quot;A String&quot;, # Optional. The namespace of the cluster.
509510
}
510511

511512
x__xgafv: string, V1 error format.

docs/dyn/gkeonprem_v1.projects.locations.vmwareAdminClusters.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,10 @@ <h3>Method Details</h3>
312312
&quot;preparedSecrets&quot;: { # VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets. # Output only. The VMware admin cluster prepared secrets configuration. It should always be enabled by the Central API, instead of letting users set it.
313313
&quot;enabled&quot;: True or False, # Whether prepared secrets is enabled.
314314
},
315+
&quot;privateRegistryConfig&quot;: { # VmwareAdminPrivateRegistryConfig represents configuration for admin cluster registry. # Configuration for registry.
316+
&quot;address&quot;: &quot;A String&quot;, # The registry address.
317+
&quot;caCert&quot;: &quot;A String&quot;, # When the container runtime pulls an image from private registry, the registry must prove its identity by presenting a certificate. The registry&#x27;s certificate is signed by a certificate authority (CA). The container runtime uses the CA&#x27;s certificate to validate the registry&#x27;s certificate.
318+
},
315319
&quot;reconciling&quot;: True or False, # Output only. If set, there are currently changes in flight to the VMware admin cluster.
316320
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of VMware admin cluster.
317321
&quot;status&quot;: { # ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED). # Output only. ResourceStatus representing detailed cluster state.
@@ -645,6 +649,10 @@ <h3>Method Details</h3>
645649
&quot;preparedSecrets&quot;: { # VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets. # Output only. The VMware admin cluster prepared secrets configuration. It should always be enabled by the Central API, instead of letting users set it.
646650
&quot;enabled&quot;: True or False, # Whether prepared secrets is enabled.
647651
},
652+
&quot;privateRegistryConfig&quot;: { # VmwareAdminPrivateRegistryConfig represents configuration for admin cluster registry. # Configuration for registry.
653+
&quot;address&quot;: &quot;A String&quot;, # The registry address.
654+
&quot;caCert&quot;: &quot;A String&quot;, # When the container runtime pulls an image from private registry, the registry must prove its identity by presenting a certificate. The registry&#x27;s certificate is signed by a certificate authority (CA). The container runtime uses the CA&#x27;s certificate to validate the registry&#x27;s certificate.
655+
},
648656
&quot;reconciling&quot;: True or False, # Output only. If set, there are currently changes in flight to the VMware admin cluster.
649657
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of VMware admin cluster.
650658
&quot;status&quot;: { # ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED). # Output only. ResourceStatus representing detailed cluster state.
@@ -947,6 +955,10 @@ <h3>Method Details</h3>
947955
&quot;preparedSecrets&quot;: { # VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets. # Output only. The VMware admin cluster prepared secrets configuration. It should always be enabled by the Central API, instead of letting users set it.
948956
&quot;enabled&quot;: True or False, # Whether prepared secrets is enabled.
949957
},
958+
&quot;privateRegistryConfig&quot;: { # VmwareAdminPrivateRegistryConfig represents configuration for admin cluster registry. # Configuration for registry.
959+
&quot;address&quot;: &quot;A String&quot;, # The registry address.
960+
&quot;caCert&quot;: &quot;A String&quot;, # When the container runtime pulls an image from private registry, the registry must prove its identity by presenting a certificate. The registry&#x27;s certificate is signed by a certificate authority (CA). The container runtime uses the CA&#x27;s certificate to validate the registry&#x27;s certificate.
961+
},
950962
&quot;reconciling&quot;: True or False, # Output only. If set, there are currently changes in flight to the VMware admin cluster.
951963
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of VMware admin cluster.
952964
&quot;status&quot;: { # ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED). # Output only. ResourceStatus representing detailed cluster state.
@@ -1211,6 +1223,10 @@ <h3>Method Details</h3>
12111223
&quot;preparedSecrets&quot;: { # VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets. # Output only. The VMware admin cluster prepared secrets configuration. It should always be enabled by the Central API, instead of letting users set it.
12121224
&quot;enabled&quot;: True or False, # Whether prepared secrets is enabled.
12131225
},
1226+
&quot;privateRegistryConfig&quot;: { # VmwareAdminPrivateRegistryConfig represents configuration for admin cluster registry. # Configuration for registry.
1227+
&quot;address&quot;: &quot;A String&quot;, # The registry address.
1228+
&quot;caCert&quot;: &quot;A String&quot;, # When the container runtime pulls an image from private registry, the registry must prove its identity by presenting a certificate. The registry&#x27;s certificate is signed by a certificate authority (CA). The container runtime uses the CA&#x27;s certificate to validate the registry&#x27;s certificate.
1229+
},
12141230
&quot;reconciling&quot;: True or False, # Output only. If set, there are currently changes in flight to the VMware admin cluster.
12151231
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of VMware admin cluster.
12161232
&quot;status&quot;: { # ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED). # Output only. ResourceStatus representing detailed cluster state.

googleapiclient/discovery_cache/documents/gkeonprem.v1.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3100,7 +3100,7 @@
31003100
}
31013101
}
31023102
},
3103-
"revision": "20250423",
3103+
"revision": "20250519",
31043104
"rootUrl": "https://gkeonprem.googleapis.com/",
31053105
"schemas": {
31063106
"Authorization": {
@@ -4578,6 +4578,10 @@
45784578
"localName": {
45794579
"description": "Optional. The object name of the bare metal cluster custom resource on the associated admin cluster. This field is used to support conflicting resource names when enrolling existing clusters to the API. When not provided, this field will resolve to the bare_metal_cluster_id. Otherwise, it must match the object name of the bare metal cluster custom resource. It is not modifiable outside / beyond the enrollment operation.",
45804580
"type": "string"
4581+
},
4582+
"localNamespace": {
4583+
"description": "Optional. The namespace of the cluster.",
4584+
"type": "string"
45814585
}
45824586
},
45834587
"type": "object"
@@ -5682,6 +5686,10 @@
56825686
"description": "Output only. The VMware admin cluster prepared secrets configuration. It should always be enabled by the Central API, instead of letting users set it.",
56835687
"readOnly": true
56845688
},
5689+
"privateRegistryConfig": {
5690+
"$ref": "VmwareAdminPrivateRegistryConfig",
5691+
"description": "Configuration for registry."
5692+
},
56855693
"reconciling": {
56865694
"description": "Output only. If set, there are currently changes in flight to the VMware admin cluster.",
56875695
"readOnly": true,
@@ -5912,6 +5920,21 @@
59125920
},
59135921
"type": "object"
59145922
},
5923+
"VmwareAdminPrivateRegistryConfig": {
5924+
"description": "VmwareAdminPrivateRegistryConfig represents configuration for admin cluster registry.",
5925+
"id": "VmwareAdminPrivateRegistryConfig",
5926+
"properties": {
5927+
"address": {
5928+
"description": "The registry address.",
5929+
"type": "string"
5930+
},
5931+
"caCert": {
5932+
"description": "When the container runtime pulls an image from private registry, the registry must prove its identity by presenting a certificate. The registry's certificate is signed by a certificate authority (CA). The container runtime uses the CA's certificate to validate the registry's certificate.",
5933+
"type": "string"
5934+
}
5935+
},
5936+
"type": "object"
5937+
},
59155938
"VmwareAdminSeesawConfig": {
59165939
"description": "VmwareSeesawConfig represents configuration parameters for an already existing Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update Seesaw configurations it can only bind a pre-existing configuration to a new user cluster. IMPORTANT: When attempting to create a user cluster with a pre-existing Seesaw load balancer you will need to follow some preparation steps before calling the 'CreateVmwareCluster' API method. First you will need to create the user cluster's namespace via kubectl. The namespace will need to use the following naming convention : -gke-onprem-mgmt or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.local_name' to disambiguate collisions; for more context see the documentation of 'VmwareCluster.local_name'. Once the namespace is created you will need to create a secret resource via kubectl. This secret will contain copies of your Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain Seesaw's SSH and Cert credentials. The credentials must be keyed with the following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-ssh-ca-key', 'seesaw-ssh-ca-cert'.",
59175940
"id": "VmwareAdminSeesawConfig",

0 commit comments

Comments
 (0)