feat: revamp and use single namespace and update to latest versions

This commit is contained in:
2025-09-21 17:53:34 +05:00
parent 9b0434721b
commit cc90d7793a
18 changed files with 277 additions and 194 deletions

View File

@@ -5,7 +5,6 @@ import { Construct } from "constructs";
type PiHoleOptions = {
provider: HelmProvider;
version: string;
name: string;
namespace: string;
};
@@ -18,7 +17,7 @@ export class PiHole extends Construct {
...options,
repository: "https://mojo2600.github.io/pihole-kubernetes",
chart: "pihole",
createNamespace: true,
version: "2.26.1",
values: [
fs.readFileSync("helm/values/pihole.values.yaml", {
encoding: "utf8",
@@ -30,7 +29,7 @@ export class PiHole extends Construct {
provider: options.provider,
name: "externaldns-pihole",
namespace: options.namespace,
repository: "https://charts.bitnami.com/bitnami",
repository: "oci://registry-1.docker.io/bitnamicharts/",
chart: "external-dns",
values: [
fs.readFileSync("helm/values/externaldns.values.yaml", {