From dc349f1d84ab5469eb812a1087a391d00d596216 Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Sat, 22 Nov 2025 13:03:17 +0500 Subject: [PATCH] chore: Traefik | move values.yaml into construct directory --- traefik/index.ts | 3 ++- helm/values/traefik.values.yaml => traefik/values.yaml | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename helm/values/traefik.values.yaml => traefik/values.yaml (100%) diff --git a/traefik/index.ts b/traefik/index.ts index bc9db06..6c6b9fb 100644 --- a/traefik/index.ts +++ b/traefik/index.ts @@ -1,4 +1,5 @@ import * as fs from "fs"; +import * as path from "path"; import { HelmProvider } from "@cdktf/provider-helm/lib/provider"; import { Release } from "@cdktf/provider-helm/lib/release"; import { Construct } from "constructs"; @@ -19,7 +20,7 @@ export class Traefik extends Construct { chart: "traefik", createNamespace: true, values: [ - fs.readFileSync("helm/values/traefik.values.yaml", { + fs.readFileSync(path.join(__dirname, "values.yaml"), { encoding: "utf8", }), ], diff --git a/helm/values/traefik.values.yaml b/traefik/values.yaml similarity index 100% rename from helm/values/traefik.values.yaml rename to traefik/values.yaml