From 41537f7843854a635ba2b27a56701a7453166db0 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sat, 6 May 2023 19:15:51 -0700 Subject: [PATCH] [PIHOLE] Add. --- cluster/pihole-configmaps.tf | 39 +++++++ cluster/pihole-deployment.tf | 198 +++++++++++++++++++++++++++++++++++ cluster/pihole-ingress.tf | 20 ++++ cluster/pihole-namespace.tf | 13 +++ cluster/pihole-pvc.tf | 31 ++++++ cluster/pihole-secret.tf | 14 +++ cluster/tailscale.tf | 27 +++++ cluster/terraform.tf | 4 + 8 files changed, 346 insertions(+) create mode 100644 cluster/pihole-configmaps.tf create mode 100644 cluster/pihole-deployment.tf create mode 100644 cluster/pihole-ingress.tf create mode 100644 cluster/pihole-namespace.tf create mode 100644 cluster/pihole-pvc.tf create mode 100644 cluster/pihole-secret.tf create mode 100644 cluster/tailscale.tf diff --git a/cluster/pihole-configmaps.tf b/cluster/pihole-configmaps.tf new file mode 100644 index 00000000..faca9775 --- /dev/null +++ b/cluster/pihole-configmaps.tf @@ -0,0 +1,39 @@ +resource "kubernetes_config_map" "pihole_regex_list" { + metadata { + name = "regex.list" + namespace = "pihole" + } + + data = { + "regex.list" = <