Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: restrict vm endpoints to namespace #300

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

bo0tzz
Copy link
Member

@bo0tzz bo0tzz commented Dec 6, 2024

No description provided.

@bo0tzz bo0tzz merged commit 1861990 into main Dec 6, 2024
2 checks passed
Copy link

github-actions bot commented Dec 6, 2024

--- kubernetes/apps/monitoring/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress VMAuth: monitoring/vmetrics-ingress

+++ kubernetes/apps/monitoring/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress VMAuth: monitoring/vmetrics-ingress

@@ -15,9 +15,11 @@

     class_name: nginx
     tlsHosts:
     - api.monitoring.immich.cloud
     - cf-workers.monitoring.immich.cloud
     tlsSecretName: vmetrics-tls
   selectAllByDefault: true
-  userNamespaceSelector: {}
+  userNamespaceSelector:
+    matchLabels:
+      kubernetes.io/metadata.name: monitoring
   userSelector: {}
 
--- kubernetes/apps/monitoring-dev/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress-dev VMAuth: monitoring-dev/vmetrics-ingress

+++ kubernetes/apps/monitoring-dev/victoria-metrics/ingress Kustomization: flux-system/cf-workers-metrics-ingress-dev VMAuth: monitoring-dev/vmetrics-ingress

@@ -15,9 +15,11 @@

     class_name: nginx
     tlsHosts:
     - api.monitoring.dev.immich.cloud
     - cf-workers.monitoring.dev.immich.cloud
     tlsSecretName: vmetrics-tls
   selectAllByDefault: true
-  userNamespaceSelector: {}
+  userNamespaceSelector:
+    matchLabels:
+      kubernetes.io/metadata.name: monitoring-dev
   userSelector: {}
 

@bo0tzz bo0tzz deleted the fix/vm-endpoint-namespace branch December 6, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants