Uploaded image for project: 'Distributed Tracing'
  1. Distributed Tracing
  2. TRACING-5671

[RHOSDT 3.7] Network policies validation from OpenTelemetryCollector CR not working

XMLWordPrintable

    • Tracing Sprint # 277 - 3.7

      the Operator does not refuse invalid ports in the exporters which are also silently dropped in the Network policies .

         receivers:
            otlp:
              protocols:
                grpc:
                  endpoint: '0.0.0.0:114317' 

      ends up in the Network policy asĀ 

      spec:
        ingress:
        - ports:
          - port: 8888
            protocol: TCP
        podSelector:
          matchLabels:
            app.kubernetes.io/component: opentelemetry-collector
            app.kubernetes.io/instance: ns1.otel
            app.kubernetes.io/managed-by: opentelemetry-operator
            app.kubernetes.io/part-of: opentelemetry
        policyTypes:
        - Ingress 

      We should make the parsing as well as the network policy creation comply to valid network configurations.

              ploffay@redhat.com Pavol Loffay
              rhn-support-milang Michaela Lang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: