feat(helmchart): reorganize prometheus configuration and add certificate owner reference

这个提交包含在:
rohow
2025-12-17 18:20:34 +08:00
未验证
父节点 813cfcae30
当前提交 4d85aa4e35
@@ -24,12 +24,6 @@ spec:
- key: "node-role.kubernetes.io/control-plane" - key: "node-role.kubernetes.io/control-plane"
operator: "Exists" operator: "Exists"
effect: "NoSchedule" effect: "NoSchedule"
prometheus:
enabled: true
servicemonitor:
enabled: true
interval: 300s
prometheusInstance: kube-prometheus
webhook: webhook:
affinity: affinity:
nodeAffinity: nodeAffinity:
@@ -58,3 +52,11 @@ spec:
- key: "node-role.kubernetes.io/control-plane" - key: "node-role.kubernetes.io/control-plane"
operator: "Exists" operator: "Exists"
effect: "NoSchedule" effect: "NoSchedule"
# 在删除证书时同时删除secret
enableCertificateOwnerRef: true
prometheus:
enabled: true
servicemonitor:
enabled: true
interval: 300s
prometheusInstance: kube-prometheus