19 lines
464 B
YAML
19 lines
464 B
YAML
apiVersion: cilium.io/v2
|
|
kind: CiliumNetworkPolicy
|
|
metadata:
|
|
name: allow-prometheus-metrics-workflows
|
|
namespace: argocd
|
|
spec:
|
|
description: Allow access to the Prometheus metrics
|
|
endpointSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: argo-workflows
|
|
ingress:
|
|
- fromEndpoints:
|
|
- matchLabels:
|
|
io.kubernetes.pod.namespace: prometheus
|
|
toPorts:
|
|
- ports:
|
|
- port: "9090"
|
|
protocol: TCP
|