浏览代码

Set pihole configmap to readonly

Breandan Dezendorf 2 年之前
父节点
当前提交
1ff2ab07fe
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      dezendorf/homelab/k3s/pihole/pihole.yaml

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

@@ -46,6 +46,7 @@ spec:
             - name: "pihole-custom-list"
               mountPath: "/etc/pihole/custom.list"
               subPath: "custom.list"
+              readOnly: true
       affinity:
         podAntiAffinity:
           preferredDuringSchedulingIgnoredDuringExecution: