19 lines
444 B
YAML
19 lines
444 B
YAML
apiVersion: cilium.io/v2
|
|
kind: CiliumNetworkPolicy
|
|
metadata:
|
|
name: allow-prometheus-metrics
|
|
namespace: cert-manager
|
|
spec:
|
|
description: Allow Prometheus metrics
|
|
endpointSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: cert-manager
|
|
ingress:
|
|
- fromEndpoints:
|
|
- matchLabels:
|
|
io.kubernetes.pod.namespace: prometheus
|
|
- toPorts:
|
|
- ports:
|
|
- port: "9402"
|
|
protocol: TCP
|