@@ -86,6 +86,7 @@ def create(
8686 name : str ,
8787 pools : Iterable [cluster_create_params .Pool ],
8888 version : str ,
89+ add_ons : cluster_create_params .AddOns | Omit = omit ,
8990 authentication : Optional [cluster_create_params .Authentication ] | Omit = omit ,
9091 autoscaler_config : Optional [Dict [str , str ]] | Omit = omit ,
9192 cni : Optional [cluster_create_params .Cni ] | Omit = omit ,
@@ -118,6 +119,8 @@ def create(
118119
119120 version: The version of the k8s cluster
120121
122+ add_ons: Cluster add-ons configuration
123+
121124 authentication: Authentication settings
122125
123126 autoscaler_config: Cluster autoscaler configuration.
@@ -220,6 +223,7 @@ def create(
220223 "name" : name ,
221224 "pools" : pools ,
222225 "version" : version ,
226+ "add_ons" : add_ons ,
223227 "authentication" : authentication ,
224228 "autoscaler_config" : autoscaler_config ,
225229 "cni" : cni ,
@@ -248,6 +252,7 @@ def update(
248252 * ,
249253 project_id : int | None = None ,
250254 region_id : int | None = None ,
255+ add_ons : cluster_update_params .AddOns | Omit = omit ,
251256 authentication : Optional [cluster_update_params .Authentication ] | Omit = omit ,
252257 autoscaler_config : Optional [Dict [str , str ]] | Omit = omit ,
253258 cni : Optional [cluster_update_params .Cni ] | Omit = omit ,
@@ -264,6 +269,8 @@ def update(
264269 Update k8s cluster
265270
266271 Args:
272+ add_ons: Cluster add-ons configuration
273+
267274 authentication: Authentication settings
268275
269276 autoscaler_config: Cluster autoscaler configuration.
@@ -348,6 +355,7 @@ def update(
348355 f"/cloud/v2/k8s/clusters/{ project_id } /{ region_id } /{ cluster_name } " ,
349356 body = maybe_transform (
350357 {
358+ "add_ons" : add_ons ,
351359 "authentication" : authentication ,
352360 "autoscaler_config" : autoscaler_config ,
353361 "cni" : cni ,
@@ -681,6 +689,7 @@ async def create(
681689 name : str ,
682690 pools : Iterable [cluster_create_params .Pool ],
683691 version : str ,
692+ add_ons : cluster_create_params .AddOns | Omit = omit ,
684693 authentication : Optional [cluster_create_params .Authentication ] | Omit = omit ,
685694 autoscaler_config : Optional [Dict [str , str ]] | Omit = omit ,
686695 cni : Optional [cluster_create_params .Cni ] | Omit = omit ,
@@ -713,6 +722,8 @@ async def create(
713722
714723 version: The version of the k8s cluster
715724
725+ add_ons: Cluster add-ons configuration
726+
716727 authentication: Authentication settings
717728
718729 autoscaler_config: Cluster autoscaler configuration.
@@ -815,6 +826,7 @@ async def create(
815826 "name" : name ,
816827 "pools" : pools ,
817828 "version" : version ,
829+ "add_ons" : add_ons ,
818830 "authentication" : authentication ,
819831 "autoscaler_config" : autoscaler_config ,
820832 "cni" : cni ,
@@ -843,6 +855,7 @@ async def update(
843855 * ,
844856 project_id : int | None = None ,
845857 region_id : int | None = None ,
858+ add_ons : cluster_update_params .AddOns | Omit = omit ,
846859 authentication : Optional [cluster_update_params .Authentication ] | Omit = omit ,
847860 autoscaler_config : Optional [Dict [str , str ]] | Omit = omit ,
848861 cni : Optional [cluster_update_params .Cni ] | Omit = omit ,
@@ -859,6 +872,8 @@ async def update(
859872 Update k8s cluster
860873
861874 Args:
875+ add_ons: Cluster add-ons configuration
876+
862877 authentication: Authentication settings
863878
864879 autoscaler_config: Cluster autoscaler configuration.
@@ -943,6 +958,7 @@ async def update(
943958 f"/cloud/v2/k8s/clusters/{ project_id } /{ region_id } /{ cluster_name } " ,
944959 body = await async_maybe_transform (
945960 {
961+ "add_ons" : add_ons ,
946962 "authentication" : authentication ,
947963 "autoscaler_config" : autoscaler_config ,
948964 "cni" : cni ,
0 commit comments