From 33c3f91df3330ba716a7fcbf85038aec3a8e2d03 Mon Sep 17 00:00:00 2001 From: emelinda Date: Sun, 8 Nov 2026 20:12:37 +0300 Subject: [PATCH] opentelemetry-collector/uralkal: set overlay namespace so the NetworkPolicy lands in opentelemetry-collector --- .../opentelemetry-collector/uralkal/kustomization.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infrastructure/opentelemetry-collector/uralkal/kustomization.yaml b/infrastructure/opentelemetry-collector/uralkal/kustomization.yaml index ce41389..8091332 100644 --- a/infrastructure/opentelemetry-collector/uralkal/kustomization.yaml +++ b/infrastructure/opentelemetry-collector/uralkal/kustomization.yaml @@ -1,5 +1,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization +# Свои ресурсы оверлея (networkpolicy.yaml) без metadata.namespace: namespace из base +# действует только на ресурсы base. Задаём здесь, иначе NetworkPolicy уйдёт без namespace. +namespace: opentelemetry-collector resources: - ../base - networkpolicy.yaml