feat(helm): enable real IP handling in helmchart and clean up nodelocaldns configuration

这个提交包含在:
rohow
2026-03-09 14:45:36 +08:00
未验证
父节点 2d31432693
当前提交 b3f7050fee
修改 2 个文件,包含 2 行新增10 行删除
+2
查看文件
@@ -42,6 +42,8 @@ spec:
enableAnnotationValidations: false
config:
use-forwarded-headers: "true"
enable-real-ip: "true"
proxy-real-ip-cidr: "10.0.0.0/8,100.64.0.0/10"
allow-snippet-annotations: "true"
annotations-risk-level: Critical
# 启用http2
-10
查看文件
@@ -120,16 +120,6 @@ spec:
prometheus.io/port: "9253"
prometheus.io/scrape: "true"
spec:
# 控制面板不启用
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: NotIn
values:
- "true"
priorityClassName: system-node-critical
serviceAccountName: node-local-dns
hostNetwork: true