Merge pull request #2987 from geethub97/dev-v2.8

Change the monitoring coredns network policy to an "allow all" policy.
pull/2990/head
Geet Samra 2023-09-15 15:06:59 -07:00 committed by GitHub
commit b23539e12b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 18 deletions

View File

@ -131,18 +131,17 @@ spec:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: monitoring-coredns-network-policy
name: rancher-monitoring-coredns-allow-all
namespace: kube-system
spec:
ingress:
- ports:
- port: 9153
protocol: TCP
- port: 9153
protocol: UDP
- {}
egress:
- {}
policyTypes:
- Ingress
- Egress
podSelector:
matchLabels:
k8s-app: kube-dns
policyTypes:
- Ingress
{{- end }}

View File

@ -11306,7 +11306,7 @@ entries:
catalog.cattle.io/upstream-version: 19.0.3
apiVersion: v2
appVersion: 0.59.1
created: "2023-09-11T10:56:06.005436-07:00"
created: "2023-09-14T16:21:08.454118-07:00"
dependencies:
- condition: grafana.enabled
name: grafana
@ -11377,7 +11377,7 @@ entries:
description: Collects several related Helm charts, Grafana dashboards, and Prometheus
rules combined with documentation and scripts to provide easy to operate end-to-end
Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
digest: 02f8a1df4177f27bf1632dcce427ed30ece3117c6806096ec5e2674c46e749c5
digest: 53bcc24ea0bce4545fee468e7294b5b4d8c42a7d39b4010879b5e8cd0e6abe07
home: https://github.com/prometheus-operator/kube-prometheus
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
keywords:

View File

@ -131,18 +131,17 @@ spec:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: monitoring-coredns-network-policy
name: rancher-monitoring-coredns-allow-all
namespace: kube-system
spec:
ingress:
- ports:
- port: 9153
protocol: TCP
- port: 9153
protocol: UDP
- {}
egress:
- {}
policyTypes:
- Ingress
- Egress
podSelector:
matchLabels:
k8s-app: kube-dns
policyTypes:
- Ingress
{{- end }}