16 lines
327 B
YAML
16 lines
327 B
YAML
apiVersion: cilium.io/v2
|
|
kind: CiliumNetworkPolicy
|
|
metadata:
|
|
name: allow-etcd-metrics
|
|
namespace: prometheus
|
|
spec:
|
|
description: Allow ETCD metrics
|
|
egress:
|
|
- toPorts:
|
|
- ports:
|
|
- port: "2379"
|
|
protocol: TCP
|
|
endpointSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: prometheus
|