Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1346

Operator fail if processor TLS set to provided but provided struct is nil

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Operator
    • False
    • None
    • False
    • Previously the operator could crash if processor metric tls config was set to provided without actually providing a certificate. Now there will be error logs.
    • NetObserv - Sprint 243

      Description of problem:

      Operator fail if processor TLS set to provided but provided struct is nil

      Version-Release number of selected component (if applicable):

      Operator main branch

      How reproducible:

      Always

      Steps to Reproduce:

      1. Deploy a flowcollector like this:
          metrics:
            server:
              tls:
                type: PROVIDED
      
      

      Actual results:

      Operator crashing

      Expected results:

      Error in operator log

       

              ocazade@redhat.com Olivier Cazade
              ocazade@redhat.com Olivier Cazade
              Amogh Rameshappa Devapura Amogh Rameshappa Devapura
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: