feat(helm): enable real IP handling in helmchart and clean up nodelocaldns configuration
这个提交包含在:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
在新议题中引用
屏蔽一个用户