Przeglądaj źródła

Added BLOCK_ICLOUD_PR-false to pihole configs

Breandan Dezendorf 1 rok temu
rodzic
commit
b179a46870
1 zmienionych plików z 16 dodań i 0 usunięć
  1. 16 0
      dezendorf/homelab/k3s/pihole/pihole.yaml

+ 16 - 0
dezendorf/homelab/k3s/pihole/pihole.yaml

@@ -59,6 +59,10 @@ spec:
               mountPath: "/etc/dnsmasq.d/01-pihole.conf"
               mountPath: "/etc/dnsmasq.d/01-pihole.conf"
               subPath: "01-pihole.conf"
               subPath: "01-pihole.conf"
               readOnly: true
               readOnly: true
+            - name: "pihole-ftl-config"
+              mountPath: "/etc/pihole/pihole-FTL.conf"
+              subPath: "pihole-FTL.conf"
+              readOnly: true
       affinity:
       affinity:
         podAntiAffinity:
         podAntiAffinity:
           preferredDuringSchedulingIgnoredDuringExecution:
           preferredDuringSchedulingIgnoredDuringExecution:
@@ -302,3 +306,15 @@ data:
     bogus-priv
     bogus-priv
     except-interface=nonexisting
     except-interface=nonexisting
      
      
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: pihole-ftl-config
+  namespace: default
+data:
+  pihole-FTL.conf: |
+    #; Pi-hole FTL config file
+    #; Comments should start with #; to avoid issues with PHP and bash reading this file
+    PRIVACYLEVEL=0
+    BLOCK_ICLOUD_PR=false