Bootstrap initial repo state
This commit is contained in:
21
helm/mcp-telemetry-bridge/templates/networkpolicy.yaml
Normal file
21
helm/mcp-telemetry-bridge/templates/networkpolicy.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
{{- if .Values.networkPolicy.enabled }}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: mcp-telemetry-bridge-deny-all
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app: mcp-telemetry-bridge
|
||||
policyTypes: ["Ingress","Egress"]
|
||||
ingress:
|
||||
- {} # allow same-namespace by default; tighten as needed
|
||||
egress:
|
||||
- to:
|
||||
- namespaceSelector: {}
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 9090 # Prometheus
|
||||
- protocol: TCP
|
||||
port: 3100 # Loki
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user