Skip to content

Instantly share code, notes, and snippets.

@dmpe
Created September 28, 2022 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmpe/0e564039277402e292611be60304be24 to your computer and use it in GitHub Desktop.
Save dmpe/0e564039277402e292611be60304be24 to your computer and use it in GitHub Desktop.
Jaeger Operator Calico Network Policy
apiVersion: projectcalico.org/v3
kind: NetworkPolicy
metadata:
name: default.jaeger-operator-allow-ingress-trafic
namespace: observability
spec:
ingress:
- action: Allow
destination:
selector: app.kubernetes.io/component == "query"
protocol: TCP
source:
namespaceSelector: projectcalico.org/name == "traefik"
selector: app == "jaeger" && app.kubernetes.io/component == "query"
types:
- Ingress
- Egress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment