Skip to content

Commit

Permalink
Merge pull request #86 from vipyrsec/block-metrics-endpoint
Browse files Browse the repository at this point in the history
Block metrics endpoint
  • Loading branch information
Robin5605 authored Oct 12, 2024
2 parents 9d98807 + 225f3e1 commit b4d17d2
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 b4d17d2

Please sign in to comment.