Skip to content

Commit 1a05a42

Browse files
authored
feat(k8s): disallow setting Ingress or Dashboard (#63)
1 parent 96c3e53 commit 1a05a42

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

packages/clients/src/api/k8s/v1/types.gen.ts

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,10 @@ export interface CreateClusterRequestPoolConfig {
335335
/** The name of the pool */
336336
name: string
337337
/**
338-
* The node type is the type of Scaleway Instance wanted for the pool, nodes
339-
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST)
338+
* The node type is the type of Scaleway Instance wanted for the pool. Nodes
339+
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST).
340+
* 'external' is a special node type used to provision instances from other
341+
* cloud providers.
340342
*/
341343
nodeType: string
342344
/** The placement group ID in which all the nodes of the pool will be created */
@@ -346,12 +348,12 @@ export interface CreateClusterRequestPoolConfig {
346348
/** The size (number of nodes) of the pool */
347349
size: number
348350
/**
349-
* The minimun size of the pool. Note that this fields will be used only when
351+
* The minimum size of the pool. Note that this field will be used only when
350352
* autoscaling is enabled.
351353
*/
352354
minSize?: number
353355
/**
354-
* The maximum size of the pool. Note that this fields will be used only when
356+
* The maximum size of the pool. Note that this field will be used only when
355357
* autoscaling is enabled.
356358
*/
357359
maxSize?: number
@@ -497,21 +499,23 @@ export interface Pool {
497499
/** The version of the pool */
498500
version: string
499501
/**
500-
* The node type is the type of Scaleway Instance wanted for the pool, nodes
501-
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST)
502+
* The node type is the type of Scaleway Instance wanted for the pool. Nodes
503+
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST).
504+
* 'external' is a special node type used to provision instances from other
505+
* cloud providers.
502506
*/
503507
nodeType: string
504508
/** The enablement of the autoscaling feature for the pool */
505509
autoscaling: boolean
506510
/** The size (number of nodes) of the pool */
507511
size: number
508512
/**
509-
* The minimun size of the pool. Note that this fields will be used only when
513+
* The minimum size of the pool. Note that this field will be used only when
510514
* autoscaling is enabled.
511515
*/
512516
minSize: number
513517
/**
514-
* The maximum size of the pool. Note that this fields will be used only when
518+
* The maximum size of the pool. Note that this field will be used only when
515519
* autoscaling is enabled.
516520
*/
517521
maxSize: number
@@ -657,8 +661,8 @@ export interface Version {
657661
region: Region
658662
/** The supported Container Network Interface (CNI) plugins for this version */
659663
availableCnis: Array<CNI>
660-
/** The supported Ingress Controllers for this version */
661-
availableIngresses: Array<Ingress>
664+
/** @deprecated The supported Ingress Controllers for this version */
665+
availableIngresses?: Array<Ingress>
662666
/** The supported container runtimes for this version */
663667
availableContainerRuntimes: Array<Runtime>
664668
/** The supported feature gates for this version */
@@ -869,8 +873,10 @@ export type CreatePoolRequest = {
869873
/** The name of the pool */
870874
name?: string
871875
/**
872-
* The node type is the type of Scaleway Instance wanted for the pool, nodes
873-
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST)
876+
* The node type is the type of Scaleway Instance wanted for the pool. Nodes
877+
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST).
878+
* 'external' is a special node type used to provision instances from other
879+
* cloud providers.
874880
*/
875881
nodeType: string
876882
/** The placement group ID in which all the nodes of the pool will be created */
@@ -880,12 +886,12 @@ export type CreatePoolRequest = {
880886
/** The size (number of nodes) of the pool */
881887
size: number
882888
/**
883-
* The minimun size of the pool. Note that this fields will be used only when
889+
* The minimum size of the pool. Note that this field will be used only when
884890
* autoscaling is enabled.
885891
*/
886892
minSize?: number
887893
/**
888-
* The maximum size of the pool. Note that this fields will be used only when
894+
* The maximum size of the pool. Note that this field will be used only when
889895
* autoscaling is enabled.
890896
*/
891897
maxSize?: number

0 commit comments

Comments
 (0)