@@ -6,7 +6,7 @@ import * as kms from 'aws-cdk-lib/aws-kms';
66import * as lambda from 'aws-cdk-lib/aws-lambda' ;
77import { Construct } from 'constructs' ;
88import { CommonHelmCharts , StandardHelmProps } from './common-helm-charts' ;
9- import { CoreDnsAddon , KubeProxyAddon , KubeCostAddon } from './core-addon' ;
9+ import { CoreDnsAddon , KubeProxyAddon } from './core-addon' ;
1010import {
1111 VpcCniAddonVersion ,
1212 VpcEniAddon ,
@@ -105,7 +105,6 @@ export interface EKSClusterProps {
105105 readonly addonProps ?: AddonProps ;
106106 readonly coreDnsAddonProps ?: CoreAddonValuesProps ;
107107 readonly kubeProxyAddonProps ?: CoreAddonValuesProps ;
108- readonly kubeCostAddonProps ?: CoreAddonValuesProps ;
109108 readonly region : string ;
110109}
111110
@@ -412,19 +411,6 @@ export class EKSCluster extends Construct {
412411 } ) ;
413412 }
414413
415- if ( props . kubeCostAddonProps ) {
416- const kubeDnsAddonConfig = this . props . kubeCostAddonProps ?. addonVersion && this . props . kubeCostAddonProps ?. configurationValues
417- ? { addonVersion : this . props . kubeCostAddonProps ?. addonVersion , configurationValues : this . props . kubeCostAddonProps ?. configurationValues }
418- : { addonVersion : this . props . kubeCostAddonProps ?. addonVersion } ;
419-
420- new KubeCostAddon ( this , 'KubeCostAddon' , {
421- cluster : this . cluster ,
422- ...kubeDnsAddonConfig ,
423- resolveConflicts : true ,
424- } ) ;
425- }
426-
427-
428414 const storageclassDefault = new eks . KubernetesManifest ( this , 'gp2' , {
429415 overwrite : true ,
430416 cluster : this . cluster ,
0 commit comments