Open parkand1 opened 3 years ago
The code assets that should be used in the Getting Started section should be as follows:
import 'source-map-support/register'; import * as cdk from '@aws-cdk/core'; import { CdkEksBlueprintStack, ArgoCDAddOn, MetricsServerAddon, ClusterAutoScaler, ContainerInsightsAddOn, NginxAddon, CalicoNetworkPolicyAddon, ClusterAddOn } from '@shapirov/cdk-eks-blueprint'; const addOns: Array<ClusterAddOn> = [ new ArgoCDAddOn, new MetricsServerAddon, new ClusterAutoScaler, new ContainerInsightsAddOn, new NginxAddon, new CalicoNetworkPolicyAddon, ]; const app = new cdk.App(); new CdkEksBlueprintStack(app, {id: 'east-test-1', addOns: addOns, teams: []}, { env: { account: '572179936737', region: 'us-east-2' }, });
The code assets that should be used in the Getting Started section should be as follows: