Skip to content

Commit

Permalink
fix missing coredns entry in alertmanager cnp
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBisson committed Feb 19, 2024
1 parent 168ca18 commit 5c0f4e9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fix alertmanager ciliumnetworkpolicy to allow access to coredns.

## [4.68.2] - 2024-02-19

### Fixed

- Add missing ciliumnetworkpolicy for alertmanager.

## [4.68.1] - 2024-02-15
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,23 @@ spec:
matchLabels:
app.kubernetes.io/name: alertmanager
egress:
# Allow all DNS queries
- toEndpoints:
- matchLabels:
"k8s:io.kubernetes.pod.namespace": kube-system
"k8s:k8s-app": coredns
- matchLabels:
"k8s:io.kubernetes.pod.namespace": kube-system
"k8s:k8s-app": k8s-dns-node-cache
toPorts:
- ports:
- port: "1053"
protocol: ANY
- port: "53"
protocol: ANY
rules:
dns:
- matchPattern: "*"
- toEntities:
## Needed to access opsgenie.
- world
Expand Down

0 comments on commit 5c0f4e9

Please sign in to comment.