Skip to content

Commit

Permalink
feat(k8s): disallow setting Ingress or Dashboard (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Aug 17, 2022
1 parent 96c3e53 commit 1a05a42
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions packages/clients/src/api/k8s/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,10 @@ export interface CreateClusterRequestPoolConfig {
/** The name of the pool */
name: string
/**
* The node type is the type of Scaleway Instance wanted for the pool, nodes
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST)
* The node type is the type of Scaleway Instance wanted for the pool. Nodes
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST).
* 'external' is a special node type used to provision instances from other
* cloud providers.
*/
nodeType: string
/** The placement group ID in which all the nodes of the pool will be created */
Expand All @@ -346,12 +348,12 @@ export interface CreateClusterRequestPoolConfig {
/** The size (number of nodes) of the pool */
size: number
/**
* The minimun size of the pool. Note that this fields will be used only when
* The minimum size of the pool. Note that this field will be used only when
* autoscaling is enabled.
*/
minSize?: number
/**
* The maximum size of the pool. Note that this fields will be used only when
* The maximum size of the pool. Note that this field will be used only when
* autoscaling is enabled.
*/
maxSize?: number
Expand Down Expand Up @@ -497,21 +499,23 @@ export interface Pool {
/** The version of the pool */
version: string
/**
* The node type is the type of Scaleway Instance wanted for the pool, nodes
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST)
* The node type is the type of Scaleway Instance wanted for the pool. Nodes
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST).
* 'external' is a special node type used to provision instances from other
* cloud providers.
*/
nodeType: string
/** The enablement of the autoscaling feature for the pool */
autoscaling: boolean
/** The size (number of nodes) of the pool */
size: number
/**
* The minimun size of the pool. Note that this fields will be used only when
* The minimum size of the pool. Note that this field will be used only when
* autoscaling is enabled.
*/
minSize: number
/**
* The maximum size of the pool. Note that this fields will be used only when
* The maximum size of the pool. Note that this field will be used only when
* autoscaling is enabled.
*/
maxSize: number
Expand Down Expand Up @@ -657,8 +661,8 @@ export interface Version {
region: Region
/** The supported Container Network Interface (CNI) plugins for this version */
availableCnis: Array<CNI>
/** The supported Ingress Controllers for this version */
availableIngresses: Array<Ingress>
/** @deprecated The supported Ingress Controllers for this version */
availableIngresses?: Array<Ingress>
/** The supported container runtimes for this version */
availableContainerRuntimes: Array<Runtime>
/** The supported feature gates for this version */
Expand Down Expand Up @@ -869,8 +873,10 @@ export type CreatePoolRequest = {
/** The name of the pool */
name?: string
/**
* The node type is the type of Scaleway Instance wanted for the pool, nodes
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST)
* The node type is the type of Scaleway Instance wanted for the pool. Nodes
* with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST).
* 'external' is a special node type used to provision instances from other
* cloud providers.
*/
nodeType: string
/** The placement group ID in which all the nodes of the pool will be created */
Expand All @@ -880,12 +886,12 @@ export type CreatePoolRequest = {
/** The size (number of nodes) of the pool */
size: number
/**
* The minimun size of the pool. Note that this fields will be used only when
* The minimum size of the pool. Note that this field will be used only when
* autoscaling is enabled.
*/
minSize?: number
/**
* The maximum size of the pool. Note that this fields will be used only when
* The maximum size of the pool. Note that this field will be used only when
* autoscaling is enabled.
*/
maxSize?: number
Expand Down

0 comments on commit 1a05a42

Please sign in to comment.