Skip to content

Commit

Permalink
feat(container): update the API
Browse files Browse the repository at this point in the history
#### container:v1beta1

The following keys were added:
- schemas.Cluster.properties.meshCertificates.$ref
- schemas.Cluster.properties.meshCertificates.description
- schemas.ClusterUpdate.properties.desiredMeshCertificates.$ref
- schemas.ClusterUpdate.properties.desiredMeshCertificates.description
- schemas.MeshCertificates.description
- schemas.MeshCertificates.id
- schemas.MeshCertificates.properties.enableCertificates.description
- schemas.MeshCertificates.properties.enableCertificates.type
- schemas.MeshCertificates.type
- schemas.NodeConfig.properties.spot.description
- schemas.NodeConfig.properties.spot.type

#### container:v1

The following keys were added:
- schemas.Cluster.properties.meshCertificates.$ref
- schemas.Cluster.properties.meshCertificates.description
- schemas.ClusterUpdate.properties.desiredMeshCertificates.$ref
- schemas.ClusterUpdate.properties.desiredMeshCertificates.description
- schemas.MeshCertificates.description
- schemas.MeshCertificates.id
- schemas.MeshCertificates.type
  • Loading branch information
yoshi-automation authored and bcoe committed Oct 18, 2021
1 parent e183d2c commit ab6d3f7
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 2 deletions.
16 changes: 15 additions & 1 deletion discovery/container-v1.json
Expand Up @@ -2459,7 +2459,7 @@
}
}
},
"revision": "20210906",
"revision": "20210920",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2861,6 +2861,10 @@
"$ref": "MasterAuthorizedNetworksConfig",
"description": "The configuration options for master authorized networks feature."
},
"meshCertificates": {
"$ref": "MeshCertificates",
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods."
},
"monitoringConfig": {
"$ref": "MonitoringConfig",
"description": "Monitoring configuration for the cluster."
Expand Down Expand Up @@ -3109,6 +3113,10 @@
"description": "The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the default Kubernetes version",
"type": "string"
},
"desiredMeshCertificates": {
"$ref": "MeshCertificates",
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods."
},
"desiredMonitoringConfig": {
"$ref": "MonitoringConfig",
"description": "The desired monitoring configuration."
Expand Down Expand Up @@ -3853,6 +3861,12 @@
},
"type": "object"
},
"MeshCertificates": {
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.",
"id": "MeshCertificates",
"properties": {},
"type": "object"
},
"Metric": {
"description": "Progress metric is (string, int|float|string) pair.",
"id": "Metric",
Expand Down
25 changes: 24 additions & 1 deletion discovery/container-v1beta1.json
Expand Up @@ -2484,7 +2484,7 @@
}
}
},
"revision": "20210910",
"revision": "20210920",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2925,6 +2925,10 @@
"description": "The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.",
"type": "string"
},
"meshCertificates": {
"$ref": "MeshCertificates",
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods."
},
"monitoringConfig": {
"$ref": "MonitoringConfig",
"description": "Monitoring configuration for the cluster."
Expand Down Expand Up @@ -3232,6 +3236,10 @@
"description": "The Kubernetes version to change the master to. The only valid value is the latest supported version. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the default Kubernetes version",
"type": "string"
},
"desiredMeshCertificates": {
"$ref": "MeshCertificates",
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods."
},
"desiredMonitoringConfig": {
"$ref": "MonitoringConfig",
"description": "The desired monitoring configuration."
Expand Down Expand Up @@ -4166,6 +4174,17 @@
},
"type": "object"
},
"MeshCertificates": {
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.",
"id": "MeshCertificates",
"properties": {
"enableCertificates": {
"description": "enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).",
"type": "boolean"
}
},
"type": "object"
},
"Metric": {
"description": "Progress metric is (string, int|float|string) pair.",
"id": "Metric",
Expand Down Expand Up @@ -4441,6 +4460,10 @@
"$ref": "ShieldedInstanceConfig",
"description": "Shielded Instance options."
},
"spot": {
"description": "Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.",
"type": "boolean"
},
"tags": {
"description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.",
"items": {
Expand Down
14 changes: 14 additions & 0 deletions src/apis/container/v1.ts
Expand Up @@ -473,6 +473,10 @@ export namespace container_v1 {
* The configuration options for master authorized networks feature.
*/
masterAuthorizedNetworksConfig?: Schema$MasterAuthorizedNetworksConfig;
/**
* Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
*/
meshCertificates?: Schema$MeshCertificates;
/**
* Monitoring configuration for the cluster.
*/
Expand Down Expand Up @@ -663,6 +667,10 @@ export namespace container_v1 {
* The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default Kubernetes version
*/
desiredMasterVersion?: string | null;
/**
* Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
*/
desiredMeshCertificates?: Schema$MeshCertificates;
/**
* The desired monitoring configuration.
*/
Expand Down Expand Up @@ -1251,6 +1259,10 @@ export namespace container_v1 {
*/
maxPodsPerNode?: string | null;
}
/**
* Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
*/
export interface Schema$MeshCertificates {}
/**
* Progress metric is (string, int|float|string) pair.
*/
Expand Down Expand Up @@ -3470,6 +3482,7 @@ export namespace container_v1 {
* // "maintenancePolicy": {},
* // "masterAuth": {},
* // "masterAuthorizedNetworksConfig": {},
* // "meshCertificates": {},
* // "monitoringConfig": {},
* // "monitoringService": "my_monitoringService",
* // "name": "my_name",
Expand Down Expand Up @@ -8991,6 +9004,7 @@ export namespace container_v1 {
* // "maintenancePolicy": {},
* // "masterAuth": {},
* // "masterAuthorizedNetworksConfig": {},
* // "meshCertificates": {},
* // "monitoringConfig": {},
* // "monitoringService": "my_monitoringService",
* // "name": "my_name",
Expand Down
23 changes: 23 additions & 0 deletions src/apis/container/v1beta1.ts
Expand Up @@ -510,6 +510,10 @@ export namespace container_v1beta1 {
* The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
*/
masterIpv4CidrBlock?: string | null;
/**
* Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
*/
meshCertificates?: Schema$MeshCertificates;
/**
* Monitoring configuration for the cluster.
*/
Expand Down Expand Up @@ -745,6 +749,10 @@ export namespace container_v1beta1 {
* The Kubernetes version to change the master to. The only valid value is the latest supported version. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the default Kubernetes version
*/
desiredMasterVersion?: string | null;
/**
* Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
*/
desiredMeshCertificates?: Schema$MeshCertificates;
/**
* The desired monitoring configuration.
*/
Expand Down Expand Up @@ -1458,6 +1466,15 @@ export namespace container_v1beta1 {
*/
maxPodsPerNode?: string | null;
}
/**
* Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
*/
export interface Schema$MeshCertificates {
/**
* enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).
*/
enableCertificates?: boolean | null;
}
/**
* Progress metric is (string, int|float|string) pair.
*/
Expand Down Expand Up @@ -1657,6 +1674,10 @@ export namespace container_v1beta1 {
* Shielded Instance options.
*/
shieldedInstanceConfig?: Schema$ShieldedInstanceConfig;
/**
* Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.
*/
spot?: boolean | null;
/**
* The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
*/
Expand Down Expand Up @@ -3983,6 +4004,7 @@ export namespace container_v1beta1 {
* // "masterAuth": {},
* // "masterAuthorizedNetworksConfig": {},
* // "masterIpv4CidrBlock": "my_masterIpv4CidrBlock",
* // "meshCertificates": {},
* // "monitoringConfig": {},
* // "monitoringService": "my_monitoringService",
* // "name": "my_name",
Expand Down Expand Up @@ -9524,6 +9546,7 @@ export namespace container_v1beta1 {
* // "masterAuth": {},
* // "masterAuthorizedNetworksConfig": {},
* // "masterIpv4CidrBlock": "my_masterIpv4CidrBlock",
* // "meshCertificates": {},
* // "monitoringConfig": {},
* // "monitoringService": "my_monitoringService",
* // "name": "my_name",
Expand Down

0 comments on commit ab6d3f7

Please sign in to comment.