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.nodePoolAutoConfig.$ref
- schemas.Cluster.properties.nodePoolAutoConfig.description
- schemas.Cluster.properties.workloadAltsConfig.$ref
- schemas.Cluster.properties.workloadAltsConfig.description
- schemas.ClusterUpdate.properties.desiredNodePoolAutoConfigNetworkTags.$ref
- schemas.ClusterUpdate.properties.desiredNodePoolAutoConfigNetworkTags.description
- schemas.ClusterUpdate.properties.desiredWorkloadAltsConfig.$ref
- schemas.ClusterUpdate.properties.desiredWorkloadAltsConfig.description
- schemas.NodePoolAutoConfig.description
- schemas.NodePoolAutoConfig.id
- schemas.NodePoolAutoConfig.properties.networkTags.$ref
- schemas.NodePoolAutoConfig.properties.networkTags.description
- schemas.NodePoolAutoConfig.type
- schemas.WorkloadALTSConfig.description
- schemas.WorkloadALTSConfig.id
- schemas.WorkloadALTSConfig.properties.enableAlts.description
- schemas.WorkloadALTSConfig.properties.enableAlts.type
- schemas.WorkloadALTSConfig.type

The following keys were changed:
- schemas.AutoprovisioningNodePoolDefaults.properties.minCpuPlatform.description
- schemas.Date.description

#### container:v1

The following keys were added:
- schemas.Cluster.properties.identityServiceConfig.$ref
- schemas.Cluster.properties.identityServiceConfig.description
- schemas.Cluster.properties.nodePoolAutoConfig.$ref
- schemas.Cluster.properties.nodePoolAutoConfig.description
- schemas.ClusterUpdate.properties.desiredIdentityServiceConfig.$ref
- schemas.ClusterUpdate.properties.desiredIdentityServiceConfig.description
- schemas.ClusterUpdate.properties.desiredNodePoolAutoConfigNetworkTags.$ref
- schemas.ClusterUpdate.properties.desiredNodePoolAutoConfigNetworkTags.description
- schemas.IdentityServiceConfig.description
- schemas.IdentityServiceConfig.id
- schemas.IdentityServiceConfig.properties.enabled.description
- schemas.IdentityServiceConfig.properties.enabled.type
- schemas.IdentityServiceConfig.type
- schemas.NetworkTags.description
- schemas.NetworkTags.id
- schemas.NetworkTags.properties.tags.description
- schemas.NetworkTags.properties.tags.items.type
- schemas.NetworkTags.properties.tags.type
- schemas.NetworkTags.type
- schemas.NodeConfig.properties.spot.description
- schemas.NodeConfig.properties.spot.type
- schemas.NodePoolAutoConfig.description
- schemas.NodePoolAutoConfig.id
- schemas.NodePoolAutoConfig.properties.networkTags.$ref
- schemas.NodePoolAutoConfig.properties.networkTags.description
- schemas.NodePoolAutoConfig.type

The following keys were changed:
- schemas.AutoprovisioningNodePoolDefaults.properties.minCpuPlatform.description
  • Loading branch information
yoshi-automation authored and bcoe committed Mar 8, 2022
1 parent 595332b commit f67ef07
Show file tree
Hide file tree
Showing 4 changed files with 191 additions and 8 deletions.
60 changes: 58 additions & 2 deletions discovery/container-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,7 @@
}
}
},
"revision": "20220114",
"revision": "20220215",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2604,7 +2604,7 @@
"description": "Specifies the node management options for NAP created node-pools."
},
"minCpuPlatform": {
"description": "Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) To unset the min cpu platform field pass \"automatic\" as field value.",
"description": "Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) This field is deprecated, min_cpu_platform should be specified using cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.",
"type": "string"
},
"oauthScopes": {
Expand Down Expand Up @@ -2814,6 +2814,10 @@
"readOnly": true,
"type": "string"
},
"identityServiceConfig": {
"$ref": "IdentityServiceConfig",
"description": "Configuration for Identity Service component."
},
"initialClusterVersion": {
"description": "The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. 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"
Expand Down Expand Up @@ -2910,6 +2914,10 @@
"format": "int32",
"type": "integer"
},
"nodePoolAutoConfig": {
"$ref": "NodePoolAutoConfig",
"description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
},
"nodePoolDefaults": {
"$ref": "NodePoolDefaults",
"description": "Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object."
Expand Down Expand Up @@ -3098,6 +3106,10 @@
"$ref": "GcfsConfig",
"description": "The desired GCFS config for the cluster"
},
"desiredIdentityServiceConfig": {
"$ref": "IdentityServiceConfig",
"description": "The desired Identity Service component configuration."
},
"desiredImageType": {
"description": "The desired image type for the node pool. NOTE: Set the \"desired_node_pool\" field as well.",
"type": "string"
Expand Down Expand Up @@ -3145,6 +3157,10 @@
"description": "The monitoring service the cluster should use to write metrics. Currently available options: * \"monitoring.googleapis.com/kubernetes\" - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.",
"type": "string"
},
"desiredNodePoolAutoConfigNetworkTags": {
"$ref": "NetworkTags",
"description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
},
"desiredNodePoolAutoscaling": {
"$ref": "NodePoolAutoscaling",
"description": "Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool."
Expand Down Expand Up @@ -3662,6 +3678,17 @@
},
"type": "object"
},
"IdentityServiceConfig": {
"description": "IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API",
"id": "IdentityServiceConfig",
"properties": {
"enabled": {
"description": "Whether to enable the Identity Service component",
"type": "boolean"
}
},
"type": "object"
},
"IntraNodeVisibilityConfig": {
"description": "IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.",
"id": "IntraNodeVisibilityConfig",
Expand Down Expand Up @@ -4148,6 +4175,20 @@
},
"type": "object"
},
"NetworkTags": {
"description": "Collection of Compute Engine network tags that can be applied to a node's underlying VM instance.",
"id": "NetworkTags",
"properties": {
"tags": {
"description": "List of network tags.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"NodeConfig": {
"description": "Parameters that describe the nodes in a cluster.",
"id": "NodeConfig",
Expand Down Expand Up @@ -4254,6 +4295,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 Expand Up @@ -4443,6 +4488,17 @@
},
"type": "object"
},
"NodePoolAutoConfig": {
"description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.",
"id": "NodePoolAutoConfig",
"properties": {
"networkTags": {
"$ref": "NetworkTags",
"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 creation. Each tag within the list must comply with RFC1035."
}
},
"type": "object"
},
"NodePoolAutoscaling": {
"description": "NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.",
"id": "NodePoolAutoscaling",
Expand Down
44 changes: 41 additions & 3 deletions discovery/container-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2484,7 +2484,7 @@
}
}
},
"revision": "20220114",
"revision": "20220215",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2641,7 +2641,7 @@
"description": "NodeManagement configuration for this NodePool."
},
"minCpuPlatform": {
"description": "Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: \"Intel Haswell\"` or `minCpuPlatform: \"Intel Sandy Bridge\"`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) To unset the min cpu platform field pass \"automatic\" as field value.",
"description": "Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) This field is deprecated, min_cpu_platform should be specified using cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.",
"type": "string"
},
"oauthScopes": {
Expand Down Expand Up @@ -2978,6 +2978,10 @@
"format": "int32",
"type": "integer"
},
"nodePoolAutoConfig": {
"$ref": "NodePoolAutoConfig",
"description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
},
"nodePoolDefaults": {
"$ref": "NodePoolDefaults",
"description": "Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object."
Expand Down Expand Up @@ -3074,6 +3078,10 @@
"$ref": "VerticalPodAutoscaling",
"description": "Cluster-level Vertical Pod Autoscaling configuration."
},
"workloadAltsConfig": {
"$ref": "WorkloadALTSConfig",
"description": "Configuration for direct-path (via ALTS) with workload identity."
},
"workloadCertificates": {
"$ref": "WorkloadCertificates",
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods."
Expand Down Expand Up @@ -3264,6 +3272,10 @@
"description": "The monitoring service the cluster should use to write metrics. Currently available options: * \"monitoring.googleapis.com/kubernetes\" - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.",
"type": "string"
},
"desiredNodePoolAutoConfigNetworkTags": {
"$ref": "NetworkTags",
"description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
},
"desiredNodePoolAutoscaling": {
"$ref": "NodePoolAutoscaling",
"description": "Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool."
Expand Down Expand Up @@ -3328,6 +3340,10 @@
"$ref": "VerticalPodAutoscaling",
"description": "Cluster-level Vertical Pod Autoscaling configuration."
},
"desiredWorkloadAltsConfig": {
"$ref": "WorkloadALTSConfig",
"description": "Configuration for direct-path (via ALTS) with workload identity."
},
"desiredWorkloadCertificates": {
"$ref": "WorkloadCertificates",
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods."
Expand Down Expand Up @@ -3525,7 +3541,7 @@
"type": "object"
},
"Date": {
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day, with a zero year (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
"id": "Date",
"properties": {
"day": {
Expand Down Expand Up @@ -4779,6 +4795,17 @@
},
"type": "object"
},
"NodePoolAutoConfig": {
"description": "node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters",
"id": "NodePoolAutoConfig",
"properties": {
"networkTags": {
"$ref": "NetworkTags",
"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 creation. Each tag within the list must comply with RFC1035."
}
},
"type": "object"
},
"NodePoolAutoscaling": {
"description": "NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.",
"id": "NodePoolAutoscaling",
Expand Down Expand Up @@ -6359,6 +6386,17 @@
},
"type": "object"
},
"WorkloadALTSConfig": {
"description": "Configuration for direct-path (via ALTS) with workload identity.",
"id": "WorkloadALTSConfig",
"properties": {
"enableAlts": {
"description": "enable_alts controls whether the alts handshaker should be enabled or not for direct-path. Requires Workload Identity (workload_pool must be non-empty).",
"type": "boolean"
}
},
"type": "object"
},
"WorkloadCertificates": {
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.",
"id": "WorkloadCertificates",
Expand Down
Loading

0 comments on commit f67ef07

Please sign in to comment.