Skip to content

regenerate Open API to inculde volume separation #352

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .gen/pipeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,12 @@ Class | Method | HTTP request | Description
- [EksIam](docs/EksIam.md)
- [EksNodePool](docs/EksNodePool.md)
- [EksNodePoolAllOf](docs/EksNodePoolAllOf.md)
- [EksNodePoolVolume](docs/EksNodePoolVolume.md)
- [EksNodePoolVolumeEbs](docs/EksNodePoolVolumeEbs.md)
- [EksNodePoolVolumeEncryption](docs/EksNodePoolVolumeEncryption.md)
- [EksNodePoolVolumeInstanceStore](docs/EksNodePoolVolumeInstanceStore.md)
- [EksNodePoolVolumeNone](docs/EksNodePoolVolumeNone.md)
- [EksNodePoolVolumes](docs/EksNodePoolVolumes.md)
- [EksSubnet](docs/EksSubnet.md)
- [EksUpdateClusterRequest](docs/EksUpdateClusterRequest.md)
- [EksUpdateNodePoolRequest](docs/EksUpdateNodePoolRequest.md)
Expand Down
125 changes: 122 additions & 3 deletions .gen/pipeline/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18881,12 +18881,124 @@ components:
- $ref: '#/components/schemas/EksNodePool_allOf'
description: Node pool object for an EKS cluster.
type: object
EKSNodePoolVolume:
discriminator:
mapping:
ebs: '#/components/schemas/EKSNodePoolVolumeEBS'
instance-store: '#/components/schemas/EKSNodePoolVolumeInstanceStore'
none: EKSNodePoolVolumeNone
propertyName: storage
nullable: true
oneOf:
- $ref: '#/components/schemas/EKSNodePoolVolumeEBS'
- $ref: '#/components/schemas/EKSNodePoolVolumeInstanceStore'
- $ref: '#/components/schemas/EKSNodePoolVolumeNone'
EKSNodePoolVolumes:
description: An associative collection of EKS node pool node instance volume
configuration objects keyed by their semantical volume names (example instanceRoot,
kubeletRoot).
example: |
{
"instanceRoot": {
"encryption": {
"enabled": true,
"encryptionKeyARN": "arn:aws:kms:aws-region:012345678901:key/01234567-0123-0123-0123-012345678901"
}
"size": 50
"storage": "ebs"
"type": "gp3"
},
"kubeletRoot": {
"storage": "instance-store"
}
}
nullable: true
properties:
instanceRoot:
$ref: '#/components/schemas/EKSNodePoolVolume'
kubeletRoot:
$ref: '#/components/schemas/EKSNodePoolVolume'
type: object
EKSNodePoolVolumeEBS:
description: |-
Configuration of EBS volumes mounted onto an EKS node pool node instance.
EBS volumes are the default to be used, if no configuration is specified.
example: |
{
"encryption": {
"enabled": true,
"encryptionKeyARN": "arn:aws:kms:aws-region:012345678901:key/01234567-0123-0123-0123-012345678901"
}
"size": 50
"storage": "ebs"
"type": "gp3"
}
properties:
encryption:
$ref: '#/components/schemas/EKSNodePoolVolumeEncryption'
size:
description: Size of the EBS volume in GiBs of the nodes in the pool (default
50 GiB).
example: 50
type: integer
storage:
description: Type of the mounted volume's storage on the node instances
of the node pool.
enum:
- ebs
type: string
type:
description: Type of the EBS volume to mount on the EKS node pool node instances
(default gp3).
example: gp3
type: string
required:
- storage
type: object
EKSNodePoolVolumeInstanceStore:
description: |-
Configuration of instance store volumes mounted onto an EKS node pool node instance.
Instance store volumes are encrypted at rest by default using an XTS-AES-256 block cipher implemented in a hardware module on the instance.
The size and type of an instance store volume is fixed based on the instance type the volume is attached to.
For more details see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes.
example: |
{
"storage": "instance-store"
}
properties:
storage:
description: Type of the mounted volume's storage on the node instances
of the node pool.
enum:
- instance-store
type: string
required:
- storage
type: object
EKSNodePoolVolumeNone:
description: We need this struct to be able to remove a volume in case of an
update for example.
example: |
{
"storage": "none"
}
properties:
storage:
description: Type of the mounted volume's storage on the node instances
of the node pool.
enum:
- instance-store
type: string
required:
- storage
type: object
EKSNodePoolVolumeEncryption:
description: Encryption details of the node volumes in an EKS node pool.
description: Encryption details of the instance volumes in an EKS node pool
(default null -> control plane configuration -> AWS account default).
example: |
{
"enabled": true,
"encryptionKeyARN": "arn:aws:kms:<REGION>:000000000000:key/00000000-0000-0000-0000-000000000000"
"encryptionKeyARN": "arn:aws:kms:aws-region:012345678901:key/01234567-0123-0123-0123-01234567890a"
}
nullable: true
properties:
Expand All @@ -18896,7 +19008,7 @@ components:
type: boolean
encryptionKeyARN:
description: KMS key ARN to use for node volume encryption.
example: arn:aws:kms:<REGION>:000000000000:key/00000000-0000-0000-0000-000000000000
example: arn:aws:kms:aws-region:012345678901:key/01234567-0123-0123-0123-01234567890a
type: string
required:
- enabled
Expand Down Expand Up @@ -23005,10 +23117,12 @@ components:
volumeEncryption:
$ref: '#/components/schemas/EKSNodePoolVolumeEncryption'
volumeSize:
deprecated: true
description: Size of the EBS volume in GBs of the nodes in the pool.
example: 50
type: integer
volumeType:
deprecated: true
description: Type of the EBS volume of the nodes in the pool (default gp3).
example: gp3
type: string
Expand Down Expand Up @@ -23039,11 +23153,14 @@ components:
type: string
type: array
useInstanceStore:
deprecated: true
description: Setup available instance stores (NVMe disks) to use for Kubelet
root if available. As a result emptyDir volumes will be provisioned on
local instance storage disks. You can check out available instance storages
here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes.
type: boolean
volumes:
$ref: '#/components/schemas/EKSNodePoolVolumes'
required:
- instanceType
EksUpdateNodePoolRequest_allOf:
Expand Down Expand Up @@ -23094,6 +23211,8 @@ components:
here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes.
nullable: true
type: boolean
volumes:
$ref: '#/components/schemas/EKSNodePoolVolumes'
options:
$ref: '#/components/schemas/BaseUpdateNodePoolOptions'
PkeAwsUpdateNodePoolRequest_allOf:
Expand Down
1 change: 1 addition & 0 deletions .gen/pipeline/docs/CreateNodePoolRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes
**SubnetId** | **string** | | [optional]
**SecurityGroups** | **[]string** | List of additional custom security groups for all nodes in the pool. | [optional]
**UseInstanceStore** | **bool** | Setup available instance stores (NVMe disks) to use for Kubelet root if available. As a result emptyDir volumes will be provisioned on local instance storage disks. You can check out available instance storages here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes. | [optional]
**Volumes** | Pointer to [**EksNodePoolVolumes**](EKSNodePoolVolumes.md) | | [optional]
**NodePools** | [**map[string]NodePool**](NodePool.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
1 change: 1 addition & 0 deletions .gen/pipeline/docs/EksNodePoolAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Name | Type | Description | Notes
**SubnetId** | **string** | | [optional]
**SecurityGroups** | **[]string** | List of additional custom security groups for all nodes in the pool. | [optional]
**UseInstanceStore** | **bool** | Setup available instance stores (NVMe disks) to use for Kubelet root if available. As a result emptyDir volumes will be provisioned on local instance storage disks. You can check out available instance storages here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes. | [optional]
**Volumes** | Pointer to [**EksNodePoolVolumes**](EKSNodePoolVolumes.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
14 changes: 14 additions & 0 deletions .gen/pipeline/docs/EksNodePoolVolume.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# EksNodePoolVolume

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Encryption** | Pointer to [**EksNodePoolVolumeEncryption**](EKSNodePoolVolumeEncryption.md) | | [optional]
**Size** | **int32** | Size of the EBS volume in GiBs of the nodes in the pool (default 50 GiB). | [optional]
**Storage** | **string** | Type of the mounted volume&#39;s storage on the node instances of the node pool. |
**Type** | **string** | Type of the EBS volume to mount on the EKS node pool node instances (default gp3). | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


14 changes: 14 additions & 0 deletions .gen/pipeline/docs/EksNodePoolVolumeEbs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# EksNodePoolVolumeEbs

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Encryption** | Pointer to [**EksNodePoolVolumeEncryption**](EKSNodePoolVolumeEncryption.md) | | [optional]
**Size** | **int32** | Size of the EBS volume in GiBs of the nodes in the pool (default 50 GiB). | [optional]
**Storage** | **string** | Type of the mounted volume&#39;s storage on the node instances of the node pool. |
**Type** | **string** | Type of the EBS volume to mount on the EKS node pool node instances (default gp3). | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


11 changes: 11 additions & 0 deletions .gen/pipeline/docs/EksNodePoolVolumeInstanceStore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# EksNodePoolVolumeInstanceStore

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Storage** | **string** | Type of the mounted volume&#39;s storage on the node instances of the node pool. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


11 changes: 11 additions & 0 deletions .gen/pipeline/docs/EksNodePoolVolumeNone.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# EksNodePoolVolumeNone

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Storage** | **string** | Type of the mounted volume&#39;s storage on the node instances of the node pool. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


12 changes: 12 additions & 0 deletions .gen/pipeline/docs/EksNodePoolVolumes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EksNodePoolVolumes

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**InstanceRoot** | Pointer to [**EksNodePoolVolume**](EKSNodePoolVolume.md) | | [optional]
**KubeletRoot** | Pointer to [**EksNodePoolVolume**](EKSNodePoolVolume.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


1 change: 1 addition & 0 deletions .gen/pipeline/docs/EksUpdateNodePoolRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**SpotPrice** | **string** | The upper limit price for the requested spot instance. If this field is empty or 0 on-demand instances are used instead of spot instances. | [optional]
**SecurityGroups** | Pointer to **[]string** | List of additional custom security groups for all nodes in the pool. | [optional]
**UseInstanceStore** | Pointer to **bool** | Setup available instance stores (NVMe disks) to use for Kubelet root if available. As a result emptyDir volumes will be provisioned on local instance storage disks. You can check out available instance storages here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes. | [optional]
**Volumes** | Pointer to [**EksNodePoolVolumes**](EKSNodePoolVolumes.md) | | [optional]
**Options** | [**BaseUpdateNodePoolOptions**](BaseUpdateNodePoolOptions.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
1 change: 1 addition & 0 deletions .gen/pipeline/docs/EksUpdateNodePoolRequestAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Name | Type | Description | Notes
**SpotPrice** | **string** | The upper limit price for the requested spot instance. If this field is empty or 0 on-demand instances are used instead of spot instances. | [optional]
**SecurityGroups** | Pointer to **[]string** | List of additional custom security groups for all nodes in the pool. | [optional]
**UseInstanceStore** | Pointer to **bool** | Setup available instance stores (NVMe disks) to use for Kubelet root if available. As a result emptyDir volumes will be provisioned on local instance storage disks. You can check out available instance storages here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes. | [optional]
**Volumes** | Pointer to [**EksNodePoolVolumes**](EKSNodePoolVolumes.md) | | [optional]
**Options** | [**BaseUpdateNodePoolOptions**](BaseUpdateNodePoolOptions.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
1 change: 1 addition & 0 deletions .gen/pipeline/docs/NodePool.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes
**SubnetId** | **string** | | [optional]
**SecurityGroups** | **[]string** | List of additional custom security groups for all nodes in the pool. | [optional]
**UseInstanceStore** | **bool** | Setup available instance stores (NVMe disks) to use for Kubelet root if available. As a result emptyDir volumes will be provisioned on local instance storage disks. You can check out available instance storages here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes. | [optional]
**Volumes** | Pointer to [**EksNodePoolVolumes**](EKSNodePoolVolumes.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions .gen/pipeline/docs/NodePoolSummary.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Type | Description | Notes
**SubnetId** | **string** | | [optional]
**SecurityGroups** | **[]string** | List of additional custom security groups for all nodes in the pool. | [optional]
**UseInstanceStore** | **bool** | Setup available instance stores (NVMe disks) to use for Kubelet root if available. As a result emptyDir volumes will be provisioned on local instance storage disks. You can check out available instance storages here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes. | [optional]
**Volumes** | Pointer to [**EksNodePoolVolumes**](EKSNodePoolVolumes.md) | | [optional]
**Status** | **string** | Current status of the node pool. | [optional]
**StatusMessage** | **string** | Details and reasoning about the status value. | [optional]

Expand Down
1 change: 1 addition & 0 deletions .gen/pipeline/docs/UpdateNodePoolRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**SpotPrice** | **string** | The upper limit price for the requested spot instance. If this field is empty or 0 on-demand instances are used instead of spot instances. | [optional]
**SecurityGroups** | Pointer to **[]string** | List of additional custom security groups for all nodes in the pool. | [optional]
**UseInstanceStore** | Pointer to **bool** | Setup available instance stores (NVMe disks) to use for Kubelet root if available. As a result emptyDir volumes will be provisioned on local instance storage disks. You can check out available instance storages here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes. | [optional]
**Volumes** | Pointer to [**EksNodePoolVolumes**](EKSNodePoolVolumes.md) | | [optional]
**Options** | [**BaseUpdateNodePoolOptions**](BaseUpdateNodePoolOptions.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
1 change: 1 addition & 0 deletions .gen/pipeline/model_create_node_pool_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .gen/pipeline/model_eks_node_pool_all_of.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .gen/pipeline/model_eks_node_pool_volume.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .gen/pipeline/model_eks_node_pool_volume_ebs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading