diff options
author | makefunstuff <[email protected]> | 2024-06-28 21:27:18 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-28 21:27:18 +0200 |
commit | 1a67a6b5f5ff5ebc9f69eb3ba0202410185a0e5d (patch) | |
tree | 4887ad3eb8b34cfe872175caaa8afa46d46842d9 /tools/monitoring/templates | |
parent | 17108bfc644a27372b830e550ea8eba91dc5c6da (diff) | |
download | k3s-lab-1a67a6b5f5ff5ebc9f69eb3ba0202410185a0e5d.tar.gz |
maybe it's namespace issues
Diffstat (limited to 'tools/monitoring/templates')
-rw-r--r-- | tools/monitoring/templates/network-policy.yaml | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/tools/monitoring/templates/network-policy.yaml b/tools/monitoring/templates/network-policy.yaml deleted file mode 100644 index b50c3af..0000000 --- a/tools/monitoring/templates/network-policy.yaml +++ /dev/null @@ -1,57 +0,0 @@ -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: {} ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: allow-ingress-to-grafana - namespace: monitoring -spec: - podSelector: - matchLabels: - app.kubernetes.io/name: grafana - policyTypes: - - Ingress - ingress: - - from: - - namespaceSelector: - matchLabels: - name: kube-system - - podSelector: - matchLabels: - app: traefik - - {} ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: allow-external-ingress-to-grafana - namespace: monitoring -spec: - podSelector: - matchLabels: - app.kubernetes.io/name: grafana - policyTypes: - - Ingress - ingress: - - from: - - ipBlock: - cidr: 0.0.0.0/0 - egress: - - to: - - podSelector: {} - |