Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(k8s): disallow setting Ingress or Dashboard #63

Merged
merged 1 commit into from
Aug 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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