Skip to content

Commit cdf4fe6

Browse files
author
awstools
committed
feat(client-eks): Added support for disabling unmanaged addons during cluster creation.
1 parent d6c9ad9 commit cdf4fe6

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

Diff for: clients/client-eks/src/commands/CreateClusterCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
130130
* bootstrapClusterCreatorAdminPermissions: true || false,
131131
* authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
132132
* },
133+
* bootstrapSelfManagedAddons: true || false,
133134
* };
134135
* const command = new CreateClusterCommand(input);
135136
* const response = await client.send(command);

Diff for: clients/client-eks/src/models/models_0.ts

+8
Original file line numberDiff line numberDiff line change
@@ -2041,6 +2041,14 @@ export interface CreateClusterRequest {
20412041
* @public
20422042
*/
20432043
accessConfig?: CreateAccessConfigRequest;
2044+
2045+
/**
2046+
* <p>If you set this value to <code>False</code> when creating a cluster, the default networking add-ons will not be installed.</p>
2047+
* <p>The default networking addons include vpc-cni, coredns, and kube-proxy.</p>
2048+
* <p>Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.</p>
2049+
* @public
2050+
*/
2051+
bootstrapSelfManagedAddons?: boolean;
20442052
}
20452053

20462054
/**

Diff for: clients/client-eks/src/protocols/Aws_restJson1.ts

+1
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ export const se_CreateClusterCommand = async (
380380
body = JSON.stringify(
381381
take(input, {
382382
accessConfig: (_) => _json(_),
383+
bootstrapSelfManagedAddons: [],
383384
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
384385
encryptionConfig: (_) => _json(_),
385386
kubernetesNetworkConfig: (_) => _json(_),

Diff for: codegen/sdk-codegen/aws-models/eks.json

+6
Original file line numberDiff line numberDiff line change
@@ -3314,6 +3314,12 @@
33143314
"traits": {
33153315
"smithy.api#documentation": "<p>The access configuration for the cluster.</p>"
33163316
}
3317+
},
3318+
"bootstrapSelfManagedAddons": {
3319+
"target": "com.amazonaws.eks#BoxedBoolean",
3320+
"traits": {
3321+
"smithy.api#documentation": "<p>If you set this value to <code>False</code> when creating a cluster, the default networking add-ons will not be installed.</p>\n <p>The default networking addons include vpc-cni, coredns, and kube-proxy.</p>\n <p>Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.</p>"
3322+
}
33173323
}
33183324
},
33193325
"traits": {

0 commit comments

Comments
 (0)