Skip to content
Snippets Groups Projects
Verified Commit 1f896e39 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(monitoring): Fix kustomization for calico network policy

parent b441d40a
No related branches found
No related tags found
No related merge requests found
---
apiVersion: projectcalico.org/v3
kind: NetworkPolicy
metadata:
name: allow-controlplane
namespace: monitoring-system
spec:
selector: app.kubernetes.io/instance == 'kube-prometheus-stack'
ingress:
- action: Allow
protocol: TCP
source:
selector: has(node-role.kubernetes.io/control-plane)
namespaceSelector: global()
destination:
ports:
- 10250
\ No newline at end of file
......@@ -9,6 +9,7 @@ resources:
- json-exporter-monitor.yaml
- ../../shared/networkpolicies/allow-from-same-namespace.yaml
- ../../shared/networkpolicies/allow-from-ingress.yaml
- calico-networkpolicy.yaml
patchesStrategicMerge:
- networkpolicy.yaml
configMapGenerator:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment