diff options
author | makefunstuff <[email protected]> | 2024-06-28 21:18:02 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-28 21:18:02 +0200 |
commit | 4bff2f07a17b4e597eff0faa27ad351aa3d6504f (patch) | |
tree | 1a360e42d58275b6a6089ed30e7d1af4cc1ceabb | |
parent | a031a6f4745b69657fdc3d3ef3d3efa819667071 (diff) | |
download | k3s-lab-4bff2f07a17b4e597eff0faa27ad351aa3d6504f.tar.gz |
maybe this policy will fix it
-rw-r--r-- | tools/monitoring/templates/network-policy.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/monitoring/templates/network-policy.yaml b/tools/monitoring/templates/network-policy.yaml new file mode 100644 index 0000000..c7696cb --- /dev/null +++ b/tools/monitoring/templates/network-policy.yaml @@ -0,0 +1,17 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: allow-all-internal + namespace: monitoring +spec: + podSelector: {} + policyTypes: + - Ingress + - Egress + ingress: + - from: + - podSelector: {} + egress: + - to: + - podSelector: {} + |