Skip to content
Snippets Groups Projects
Verified Commit e56b7b66 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(monitoring): Allow exposure through ingress

This patch allows network requests from the ingress namespace(s) by
adding our shared network policy.
parent 47b16f32
No related branches found
Tags v8.48.3
No related merge requests found
...@@ -6,3 +6,6 @@ resources: ...@@ -6,3 +6,6 @@ resources:
- repository.yaml - repository.yaml
- release.yaml - release.yaml
- ../../shared/networkpolicies/allow-from-same-namespace.yaml - ../../shared/networkpolicies/allow-from-same-namespace.yaml
- ../../shared/networkpolicies/allow-from-ingress.yaml
patchesStrategicMerge:
- networkpolicy.yaml
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-from-ingress
spec:
podSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- alertmanager
- grafana
- prometheus
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment