浏览代码

pihole - add net_bind_service for FTL (#2175)

Stavros Kois 1 年之前
父节点
当前提交
20d1706a33

+ 1 - 1
library/ix-dev/charts/pihole/Chart.yaml

@@ -3,7 +3,7 @@ description: DNS and Ad-filtering for your network.
 annotations:
   title: Pi-hole
 type: application
-version: 2.0.1
+version: 2.0.2
 apiVersion: v2
 appVersion: 2023.11.0
 kubeVersion: '>=1.16.0-0'

+ 2 - 0
library/ix-dev/charts/pihole/metadata.yaml

@@ -21,6 +21,8 @@ capabilities:
     description: Pi-hole is able to set process capabilities.
   - name: NET_ADMIN
     description: Pi-hole is able to perform various network-related operations.
+  - name: NET_BIND_SERVICE
+    description: Pi-hole is able to bind to a privileged port.
   - name: KILL
     description: Pi-hole is able to kill processes.
 hostMounts: []

+ 1 - 0
library/ix-dev/charts/pihole/templates/_pihole.tpl

@@ -20,6 +20,7 @@ workload:
             capabilities:
               add:
                 - NET_ADMIN
+                - NET_BIND_SERVICE
                 - CHOWN
                 - DAC_OVERRIDE
                 - FOWNER