diff --git a/cdk/kittyhawk/package.json b/cdk/kittyhawk/package.json index 301e5ec3..ea44da73 100644 --- a/cdk/kittyhawk/package.json +++ b/cdk/kittyhawk/package.json @@ -65,7 +65,7 @@ "main": "lib/index.js", "license": "MIT", "homepage": "https://kittyhawk.pennlabs.org", - "version": "1.1.8", + "version": "1.1.8.1", "jest": { "testMatch": [ "/src/**/__tests__/**/*.ts?(x)", diff --git a/cdk/kittyhawk/src/ingress.ts b/cdk/kittyhawk/src/ingress.ts index fe164e54..ddc963ab 100644 --- a/cdk/kittyhawk/src/ingress.ts +++ b/cdk/kittyhawk/src/ingress.ts @@ -61,7 +61,11 @@ export class Ingress extends Construct { const rules: IngressRule[] = props.rules.map((h) => ({ host: h.host, metadata: { - annotations: props.annotations, + annotations: { + "traefik.ingress.kubernetes.io/router.middlewares": + "default-redict-http@kubernetescrd", + ...props.annotations, + }, }, http: { paths: h.paths.map((path) => ({