Skip to content

Commit

Permalink
fix: restrict vm endpoints to namespace (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
bo0tzz authored Dec 6, 2024
1 parent ae64d32 commit 1861990
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ metadata:
namespace: monitoring-dev
spec:
userSelector: {}
userNamespaceSelector: {}
userNamespaceSelector:
matchLabels:
kubernetes.io/metadata.name: monitoring-dev
selectAllByDefault: true
ingress:
tlsSecretName: vmetrics-tls
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ metadata:
namespace: monitoring
spec:
userSelector: {}
userNamespaceSelector: {}
userNamespaceSelector:
matchLabels:
kubernetes.io/metadata.name: monitoring
selectAllByDefault: true
ingress:
tlsSecretName: vmetrics-tls
Expand Down

0 comments on commit 1861990

Please sign in to comment.