소스 검색

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: