diff --git a/kubernetes/apps/monitoring-dev/victoria-metrics/ingress/ingress.yaml b/kubernetes/apps/monitoring-dev/victoria-metrics/ingress/ingress.yaml index 12866e56..daa305d3 100644 --- a/kubernetes/apps/monitoring-dev/victoria-metrics/ingress/ingress.yaml +++ b/kubernetes/apps/monitoring-dev/victoria-metrics/ingress/ingress.yaml @@ -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 diff --git a/kubernetes/apps/monitoring/victoria-metrics/ingress/ingress.yaml b/kubernetes/apps/monitoring/victoria-metrics/ingress/ingress.yaml index 384760f3..d058cc5b 100644 --- a/kubernetes/apps/monitoring/victoria-metrics/ingress/ingress.yaml +++ b/kubernetes/apps/monitoring/victoria-metrics/ingress/ingress.yaml @@ -5,7 +5,9 @@ metadata: namespace: monitoring spec: userSelector: {} - userNamespaceSelector: {} + userNamespaceSelector: + matchLabels: + kubernetes.io/metadata.name: monitoring selectAllByDefault: true ingress: tlsSecretName: vmetrics-tls