feat(helm): enable real IP handling in helmchart and clean up nodelocaldns configuration
这个提交包含在:
@@ -42,6 +42,8 @@ spec:
|
|||||||
enableAnnotationValidations: false
|
enableAnnotationValidations: false
|
||||||
config:
|
config:
|
||||||
use-forwarded-headers: "true"
|
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"
|
allow-snippet-annotations: "true"
|
||||||
annotations-risk-level: Critical
|
annotations-risk-level: Critical
|
||||||
# 启用http2
|
# 启用http2
|
||||||
|
|||||||
@@ -120,16 +120,6 @@ spec:
|
|||||||
prometheus.io/port: "9253"
|
prometheus.io/port: "9253"
|
||||||
prometheus.io/scrape: "true"
|
prometheus.io/scrape: "true"
|
||||||
spec:
|
spec:
|
||||||
# 控制面板不启用
|
|
||||||
affinity:
|
|
||||||
nodeAffinity:
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
- matchExpressions:
|
|
||||||
- key: node-role.kubernetes.io/control-plane
|
|
||||||
operator: NotIn
|
|
||||||
values:
|
|
||||||
- "true"
|
|
||||||
priorityClassName: system-node-critical
|
priorityClassName: system-node-critical
|
||||||
serviceAccountName: node-local-dns
|
serviceAccountName: node-local-dns
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
|||||||
在新议题中引用
屏蔽一个用户