Skip to content

Commit a6ab9fd

Browse files
move tekton tasks and pipelines to scalability ns to avoid PSA enforcement at tekton-pipelines namespace level (awslabs#410)
1 parent a8997d1 commit a6ab9fd

32 files changed

+60
-5049
lines changed

infrastructure/lib/kit-infrastructure.ts

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { AWSFluentBit } from './addons/fluent-bit-for-aws'
77
import { FluxV2 } from './addons/fluxv2'
88
import { Karpenter } from './addons/karpenter'
99
import { KIT } from './addons/kit'
10+
import { KubectlLayer } from 'aws-cdk-lib/lambda-layer-kubectl'
1011

1112
export class KITInfrastructure extends Stack {
1213
constructor(scope: Construct, id: string, props?: StackProps) {
@@ -45,6 +46,7 @@ export class KITInfrastructure extends Stack {
4546
clusterName: id,
4647
vpc: vpc,
4748
role: clusterRole,
49+
kubectlLayer: new KubectlLayer(this, 'kubectl'),
4850
version: eks.KubernetesVersion.V1_26,
4951
defaultCapacity: 0,
5052
});

0 commit comments

Comments
 (0)