@scaleway/sdk-k8s 2.11.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -143,6 +143,7 @@ const unmarshalPool = (data) => {
143
143
  name: data.name,
144
144
  nodeType: data.node_type,
145
145
  placementGroupId: data.placement_group_id,
146
+ privateNetworkId: data.private_network_id,
146
147
  publicIpDisabled: data.public_ip_disabled,
147
148
  region: data.region,
148
149
  rootVolumeSize: data.root_volume_size,
@@ -369,6 +370,7 @@ const marshalCreateClusterRequestPoolConfig = (request, defaults) => ({
369
370
  name: request.name,
370
371
  node_type: request.nodeType,
371
372
  placement_group_id: request.placementGroupId,
373
+ private_network_id: request.privateNetworkId,
372
374
  public_ip_disabled: request.publicIpDisabled,
373
375
  root_volume_size: request.rootVolumeSize,
374
376
  root_volume_type: request.rootVolumeType,
@@ -423,6 +425,7 @@ const marshalCreatePoolRequest = (request, defaults) => ({
423
425
  name: request.name || randomName("pool"),
424
426
  node_type: request.nodeType,
425
427
  placement_group_id: request.placementGroupId,
428
+ private_network_id: request.privateNetworkId,
426
429
  public_ip_disabled: request.publicIpDisabled,
427
430
  root_volume_size: request.rootVolumeSize,
428
431
  root_volume_type: request.rootVolumeType,
@@ -359,6 +359,10 @@ export interface CreateClusterRequestPoolConfig {
359
359
  * Kubernetes taints applied at node creation but not reconciled afterwards.
360
360
  */
361
361
  startupTaints: CoreV1Taint[];
362
+ /**
363
+ * Private network where the nodes are attached. Should be member of the same VPC as the API Server.
364
+ */
365
+ privateNetworkId?: string;
362
366
  }
363
367
  export interface CreatePoolRequestUpgradePolicy {
364
368
  maxUnavailable?: number;
@@ -737,6 +741,10 @@ export interface Pool {
737
741
  * Kubernetes taints applied at node creation but not reconciled afterwards.
738
742
  */
739
743
  startupTaints: CoreV1Taint[];
744
+ /**
745
+ * Private network where the nodes are attached. Should be member of the same VPC as the API Server.
746
+ */
747
+ privateNetworkId?: string;
740
748
  /**
741
749
  * Cluster region of the pool.
742
750
  */
@@ -1056,6 +1064,10 @@ export type CreatePoolRequest = {
1056
1064
  * Kubernetes taints applied at node creation but not reconciled afterwards.
1057
1065
  */
1058
1066
  startupTaints?: CoreV1Taint[];
1067
+ /**
1068
+ * Private network where the nodes are attached. Should be member of the same VPC as the API Server.
1069
+ */
1070
+ privateNetworkId?: string;
1059
1071
  };
1060
1072
  export type DeleteACLRuleRequest = {
1061
1073
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-k8s",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "description": "Scaleway SDK k8s",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {