Skip to content

Commit

Permalink
Fix netpol for cert-manager to allow prometheus scrapes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad-Faizan committed Dec 4, 2024
1 parent b3e5b38 commit 05ed13b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
protocol: TCP
source:
namespaceSelector: projectcalico.org/name == 'monitoring'
selector: name == prometheus
selector: app.kubernetes.io/name == 'prometheus'
destination:
ports:
- 9402
Expand Down

0 comments on commit 05ed13b

Please sign in to comment.