Skip to content

Commit

Permalink
Block metrics endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Robin <[email protected]>
  • Loading branch information
Robin5605 authored Oct 10, 2024
1 parent 9d98807 commit 7886ab6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kubernetes/manifests/dragonfly/mainframe/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ metadata:
name: dragonfly-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/server-snippet: |
location ~* /metrics {
deny all;
return 403;
}
spec:
ingressClassName: nginx
Expand Down

0 comments on commit 7886ab6

Please sign in to comment.